摘要:
对象有 __proto__ 函数有 prototype 对象的__proto__指向构造自己的函数的prototype 但有一例外 var Obj = {v:99}var pObj = Object.create(Obj);console.log(pObj.__proto__ Obj) // tru 阅读全文
posted @ 2017-08-19 22:15 jjw 阅读(307) 评论(0) 推荐(0)
|
|||
|
摘要:
对象有 __proto__ 函数有 prototype 对象的__proto__指向构造自己的函数的prototype 但有一例外 var Obj = {v:99}var pObj = Object.create(Obj);console.log(pObj.__proto__ Obj) // tru 阅读全文
posted @ 2017-08-19 22:15 jjw 阅读(307) 评论(0) 推荐(0) |
|||