阅读背景:

带有setTimeout的自定义对象调用方法失去作用域

来源:互联网 

I'm having an issue with building a Javascript object, and calling methods within that object using setTimeout. I've tried various workarounds, but always during the second part of my loop the scope becomes the window object rather than my custom object. Warning: I'm pretty new at javascript.I'm having an issue with building a Javascript




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: