摘要: 原型链 例子如下: var arr = [1, 2, 3]; 其原型链为:arr > Array.prototype > Object.prototype > null 同理我们创建一个函数也是: function foo() { return 0; } 其原型链为:foo > Function.p 阅读全文
posted @ 2018-07-03 09:13 __松子 阅读(746) 评论(1) 推荐(0) 编辑