.
O
K
A
Y
A
摘要: 目标 是让sleep 的功能与setTimeout一样:就是等2000毫秒之后再执行then中的回调函数 function sleep(time){ // 请写出你的代码 } sleep(2000).then(()=>{ console.log("后续操作") }) console.log(2); 阅读全文
posted @ 2022-11-14 20:23 三井绫子 阅读(22) 评论(0) 推荐(0) 编辑