摘要:
//构造函数 function person(name, age) { this.name = name; this.age = age; } //定义person原型,原型里的属性可以被自定义对象引用 person.prototype = { getName: function () { return this.name; }, getAge: function () { ... 阅读全文
posted @ 2012-08-18 20:39
``炯``
阅读(219)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2012-08-18 18:17
``炯``
阅读(837)
评论(0)
推荐(0)

浙公网安备 33010602011771号