var a = {};
a.prototype = {b:'heheh'}
console.log(a.b)為什么a.b 是undefined呢??
js原型鏈問題
長風秋雁
2018-09-03 13:18:55