function Hello(name){
this.name = name;
}
Hello.prototype.Start = function(){
setTimeout(function(me){
return function(){
me.Show()
}
}(this), 5000);
};
Hello.prototype.Show = function(){
alert(this.name);
}
var SteveJobs = new Hello("Steve Jobs");
感悟js的一段代码
最新推荐文章于 2025-03-25 16:35:37 发布
292

被折叠的 条评论
为什么被折叠?



