prototype __proto__

vue用得飞起,js根基仍是要打牢vue

prototype是函数才有的属性函数

__proto__是对象都有的属性(除了Object) //Object.__proto__    返回f(){[native code]}  一切的来源spa

查看Vue实例 : prototype

Vue.constructor.prototype 就能查看vue实例上的全部内容     或者 Vue.__proto__    code

即: Vue.constructor.prototype ===Vue.__proto__对象