原型 原型链
摘要:function P() {} var p1 = new P(); P.prototype.age = 18; P.prototype = { constructor: P, name: 'zz' } P.prototype.num = 20; P.prototype.age = 22; conso
阅读全文
posted @ 2020-05-19 09:59
posted @ 2020-05-19 09:59