I got this error and I am not sure what it's about. The last thing I remember doing is adding a clearInterval()
method to clear some setTimeOut()
intervals variables. Besides that I am not sure what it could be. Not asking for a solution, but if anyone knows any possibilities of what could trigger that 开发者_StackOverflow中文版error, maybe that might help me to figure out where it's coming from.
An infinite loop can cause this error. You are into a function that never ends and since everything is freezed, the player let you interrupt the running script after a timeout period.
Nine times out of ten it's something like this:
var i:int;
while (i < 10)
{
// do something
}
i.e. you probably forgot to increment i
,
精彩评论