原型
对象都有constructor属性和_proto_属性,constructor属性指向的是创建自己的函数,也就是function()或者Object()
_proto_属性指向的是原型链上的上一个对象的prototype属性,是个对象,function().prototype或者Object().prototype
只有能创建对象的function()和Object()有prototype属性
Function.constructor=Function
Function._proto_=Function.prototype
Object.constructor=Function
Object._proto_=Function.prototype
Function.prototype.__proto__ =Object.prototype
Object.prototype.__proto__ =null
https://www.cnblogs.com/xiaohuochai/p/5721552.html
浙公网安备 33010602011771号