摘要: 先看下面一段代码: function Machine(ecode, horsepower) { this.ecode = ecode; this.horsepower = horsepower; } function showme() { alert(this.name + " " + this.ecode + " " + this.horsepower); } var machine = new Machine("code1", 15); machine.name = "machine1"; machine.sh 阅读全文
posted @ 2011-04-12 11:58 公子姬良 阅读(1456) 评论(0) 推荐(0) 编辑