登录
__proto__和constructor属性是对象所独有的;prototype属性是函数所独有的。但是由于JS中函数也是一种对象,所以函数也拥有__proto__和constructor属性。
javascript js prototype
04-17
javascript 原型模式 JS 构造函数、class js prototype js 继承
07-03