摘要: 一、setTimeout基础 setTimeout(func|code,delay); 第一个参数表示将要推迟的函数名或者一段代码,第二个参数表示推迟执行的毫秒数 eg: console.log(1); setTimeout('console.log(2)',1000); console.log(3 阅读全文
posted @ 2017-06-23 12:43 wzndkj 阅读(1518) 评论(0) 推荐(0) 编辑