摘要: function AA() { } function BB() { } var x = BB.prototype console.log(x BB.prototype); //true BB.prototype = new AA() // new操作符创建、继承、返回一个新对象(假设为o,存在o._ 阅读全文
posted @ 2020-10-25 15:14 17135131xjt 阅读(61) 评论(0) 推荐(0) 编辑