阅读背景:

在进入下一个循环迭代之前执行setTImeout操作

来源:互联网 

I am trying to repeat the pattern in the memory game simon before adding another step in the sequence, but I think the loop is being iterated through so quickly that every number in the sequence is calling setTimeout(function, 1000) at essentially the same time and then they are played simultaneously rather than one after another. Is there anyway to fix this?I am trying to repeat the pattern in the memory




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

分享到: