摘要: 带原型的Constructor模式function Car(model, year, miles){ this.model = model; this.year = year; this.miles = miles;}Car.prototype.toString = function(){ ... 阅读全文
posted @ 2014-10-08 16:21 terabithia 阅读(106) 评论(0) 推荐(0)