“`” 参考回答: Function.prototype.a = 1; Object.prototype.b = 2; function A() {} var a = new A(); console.log(a.a, a.b); // undefined, 2 console.log(A.a, A.b); // 1, 2 <pre><code> "“` Was this helpful? YesNo 0 / 0 上一篇: async和await具体该怎么用? 下一篇: 如果已经有三个promise,A、B和C,想串行执行,该怎么写? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。