2249
0
admin
IP 编辑 禁止 帖子 清理
function Person(name,age,love){
this.name=name;
this.age=age;
this.love=love;
this.say=function say(){
Console.log("姓名"+name);
}
function teacher(name,love){
Person.________(this,arguments);
var tea=new teacher("付老师",26);
tea.say();//输出:"付老师"
使用道具
298
moon110
管理
站点统计|举报|Archiver|手机版|小黑屋|Comsenz Inc.
GMT+8, , Processed in 0.195171 second(s), 9 queries .
Powered by javakc! X1.0
© 2004-2014 javakc
f1208.com 备案号:京ICP备14030918号-1