摘要: $(function(){ var j = 0 for(let i=0;i<2;i++,j++){ setTimeout(function(){ console.log(i,j) },1000) } }) 输出: 0 2 ,1 2 setTimeout(func,time)函数,延迟运行函数.将fu 阅读全文
posted @ 2020-03-14 10:53 XLLANG 阅读(425) 评论(0) 推荐(0) 编辑