摘要: function a(){ this.sex=[1,2,3]}a.prototype={ age:[1,2,3], say:function(){ }}var b=new a();b.age.push(4)console.log(a.prototype)console.log(b.age)var c 阅读全文
posted @ 2018-06-25 09:16 天马行空的Max 阅读(77) 评论(0) 推荐(0)