咱们来聊聊JS中的异步,以及如何异步,菜鸟版
为什么需要异步?why?来看一段代码。 问题1: for(var i=0;i<100000;i++){ } alert('hello world!!!'); 这段代码 ...
为什么需要异步?why?来看一段代码。 问题1: for(var i=0;i<100000;i++){ } alert('hello world!!!'); 这段代码 ...