2016年8月17日
摘要: 一.prototype(原型) 1. function Person (name) { this.name = name; } function Star (name) { } Star.prototype = new Person("鹿晗"); var who = new Star(); cons 阅读全文
posted @ 2016-08-17 20:43 rainbow727 阅读(248) 评论(0) 推荐(0) 编辑