lynxerzhang / JSSkills

MIT License
0 stars 0 forks source link

对于setTimeout(function(){}, 0)这种写法的原因探讨 #4

Open lynxerzhang opened 6 years ago

lynxerzhang commented 6 years ago

对于形如 setTimeout(function() {}, 0); 的原理解释 http://www.geekabyte.io/2014/01/javascript-effect-of-setting-settimeout.html https://stackoverflow.com/questions/33955650/what-is-settimeout-doing-when-set-to-0-milliseconds