摘要: function Dog(){this.tail = true;} var benji = new Dog(); var rusty = new Dog(); Dog.prototype.say = function(){return 'Woof!';} alert(benji.say()); //?是否等同于benji.constructor.prototype.say() Dog.protot... 阅读全文
posted @ 2010-10-29 20:36 dapple 阅读(268) 评论(0) 推荐(0)