Inheritance(Chapter 5 of JavaScript: The Good Parts)
摘要:
codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1varMammal=function(name){2this.name=name;3};45Mammal.prototype.get_name=function(){6returnthis.na... 阅读全文
posted @ 2010-07-10 11:46 Ray Z 阅读(171) 评论(0) 推荐(0) 编辑