JavaScript中从setTimeout与setInterval到AJAX异步 setTimeout与setInterval执行 首先我们看一下以下代码打印结果console.log(1);setTimeout(function(){co settimeout与setinterval