标签:src es2017 bsp enter png blog ges prototype 对象
一、原型与原型链总结
左边对象实例,中间构造函数(构造器),右边原型;每个函数创建后,都有prototype的属性,该属性指向函数的原型对象。每个对象,都有内置属性[[prototype]],通过__proto__访问。
构造函数是娘,原型是爹
标签:src es2017 bsp enter png blog ges prototype 对象
原文地址:http://www.cnblogs.com/tuqunfu/p/7512968.html