摘要:
<script type="text/javascript"> function Animal(name){ this.name=name; } Animal.prototype.sayName=function(){ alert("My name is:"+this.name); } Animal.prototype.sayHi=function(){ alert("Hi! from animal:"+this.name); }function Tiger(name){ Animal.call(this, name);/ 阅读全文
posted @ 2012-03-19 14:32
maneater
阅读(184)
评论(0)
推荐(1)
浙公网安备 33010602011771号