摘要:
1 //代码1-原型原理: 2 function Student(){ 3 //创建了一个空的构造函数 4 } 5 6 //注意:创建了函数Student的同时Student.prototype原型对象就立即产生了 7 8 var per... 阅读全文
posted @ 2015-07-25 11:08
rapale
阅读(275)
评论(0)
推荐(0)
|
摘要:
1 //代码1-原型原理: 2 function Student(){ 3 //创建了一个空的构造函数 4 } 5 6 //注意:创建了函数Student的同时Student.prototype原型对象就立即产生了 7 8 var per... 阅读全文
posted @ 2015-07-25 11:08
rapale
阅读(275)
评论(0)
推荐(0)
摘要:
1 //代码1-原型原理: 2 function Student(){ 3 //创建了一个空的构造函数 4 } 5 6 //注意:创建了函数Student的同时Student.prototype原型对象就立即产生了 7 8 var person1... 阅读全文
posted @ 2015-07-25 10:43
rapale
阅读(521)
评论(1)
推荐(0)
|