摘要: let f = function () { this.a = 1; this.b = 2; }; let o = new f(); // {a: 1, b: 2} f.prototype.b = 3; f.prototype.c = 4; for(let i in o){ console.log(i 阅读全文
posted @ 2020-08-13 09:43 青春无敌小宇宙 阅读(798) 评论(0) 推荐(0) 编辑