javascript - 怎么理解js的这个看起来同步,但是却是异步的demo
http://jsfiddle.net/hidoos/SNBYV/259/embedded {代码...} {代码...} box的初始颜色是blue,我以为按照顺序执行的话,不用等待3s就能直接修改box的颜色为red,而实际的情况则是要等待了3s才修改box的颜色。不是很...
黄舟 2017-04-10 14:52:49 0 2 379