Closed CHWYH closed 4 years ago
是要出题吗?出题可以在这里提交哦:http://www.h-camel.com/contribution.html
好的,还以为是直接提交 issue
------------------ 原始邮件 ------------------ 发件人: "haizlin/fe-interview" <notifications@github.com>; 发送时间: 2020年7月15日(星期三) 中午1:04 收件人: "haizlin/fe-interview"<fe-interview@noreply.github.com>; 抄送: "WYH"<857292988@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [haizlin/fe-interview] 原型相关[js] (#2648)
是要出题吗?出题可以在这里提交哦:http://www.h-camel.com/contribution.html
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
感谢贡献!那我先关闭这个issues了
var A = function() {}; var b = new A(); A.prototype = { n: 0, m: 1 } 与以下方式的声明有什么区别,为什么? var A = function() {}; var b = new A(); A.prototype.n = 0; A.prototype.m = 1;