标签:
function F1() {} F1.prototype.sayHello = function(){ alert("I‘m a superman."); } function f2(skill){ this.skill = skill; } f2.prototype = new F1(); var david = new f2("fly"); david.sayHello();
标签:
原文地址:http://www.cnblogs.com/heqhbk/p/4311606.html