摘要: JavaScript InheritanceDouglasCrockfordwww.crockford.comAnd you think you're so clever and classless and free--John LennonJavaScript一种没有类的,面向对象的语言,它使用原型继承来代替类继承。这个可能对受过传统的面向对象语言(如C++和Java)训练的程序员来说有点迷惑。... 阅读全文
posted @ 2010-11-24 15:32 fatfoxtower 阅读(672) 评论(1) 推荐(1) 编辑