首页 试题广场 > 试题详情
编程题

【C022073】尝试实现注释部分的Javascript代码,可在其他任何地方添加更多代码(如不能实现,说明一下不能实现的原因):
var Obj = function(msg){
this.msg = msg;
this.shout = function(){
alert(this.msg);
}
this.waitAndShout = function(){
//隔五秒钟后执行上面的shout方法
}
}

回复可见正确答案
下一题 上一题
Ke星伙伴们的回答/ 2个回答 添加答案
贡献榜
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部