标签:highlight str 文字 函数 const function type rip ons
//函数的construct 指向了 function Function(){} undefined //实例化的对象 constructor 指向 函数本身 undefined //每个函数都有prototype属性 undefined //实例化的对象都有__proto__ 属性 undefined //其中实例化中__proto__ 和 函数中prototype的指向是 同一个原型对象 默认指向是一致的 当然也是可以改变的
关于prototype和__proto__ 以及 constructor的文字总结
标签:highlight str 文字 函数 const function type rip ons
原文地址:http://www.cnblogs.com/zhujiasheng/p/6182263.html