标签:log ace indent cti asc function js使用 size bsp
settimeout:
1.setTimeout(function () {//这个则会在1秒后进行弹出1
alert(1);
}, 1000);
2.setTimeout(alert(1), 1000);//这个在js中不会等待1秒,就会直接出来弹出1
标签:log ace indent cti asc function js使用 size bsp
原文地址:http://www.cnblogs.com/danlis/p/6128568.html