promse 并发
摘要:
const fn = function (time) { return () => { return new Promise((resolve) => { setTimeout(() => { console.log(Date.now() + ':' + time); resolve(time); 阅读全文
posted @ 2022-05-01 21:39 偏灬爱 阅读(23) 评论(0) 推荐(0) 编辑
posted @ 2022-05-01 21:39 偏灬爱 阅读(23) 评论(0) 推荐(0) 编辑
posted @ 2022-05-01 21:38 偏灬爱 阅读(38) 评论(0) 推荐(0) 编辑