函数和对象 及 prototype和__proto__

对象有  __proto__

函数有 prototype

对象的__proto__指向构造自己的函数的prototype

但有一例外

var Obj = {v:99}
var pObj = Object.create(Obj);

console.log(pObj.__proto__ === Obj)   // true

原文地址:https://www.cnblogs.com/Jiaojiawang/p/7398148.html