2017年8月15日

JS原型链题目

摘要: function Foo(){ getName=function(){alert(1)}; return this; } Foo.getName=function(){alert(2)}; Foo.prototype.getName=function(){alert(3)}; var getName 阅读全文

posted @ 2017-08-15 00:02 奋斗的小小牛 阅读(211) 评论(0) 推荐(1) 编辑

导航