Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS的for循环 #3

Open
ShaofeiZi opened this issue Aug 21, 2018 · 0 comments
Open

JS的for循环 #3

ShaofeiZi opened this issue Aug 21, 2018 · 0 comments
Labels
分享 每周分享讨论

Comments

@ShaofeiZi
Copy link
Contributor

for(
  let i = (setTimeout(()=>console.log(i), 2333) , 0);
  i < 2;
  i++
){
  
}

写出你脑海中运行这段代码的结果,还有每一步的原因和分析。
直接贴答案,是不好的。

@ShaofeiZi ShaofeiZi assigned ShaofeiZi and unassigned ShaofeiZi Aug 21, 2018
@ShaofeiZi ShaofeiZi added the 分享 每周分享讨论 label Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
分享 每周分享讨论
Projects
None yet
Development

No branches or pull requests

1 participant