手写Promise
摘要:
const PENDING = "pending"; const FULFILLED = "fulfilled"; const REJECTED = "rejected"; //创建微队列 function runMicroTask(callback) { //判断node环境 process.ne 阅读全文
posted @ 2023-05-11 17:55 爱前端的小魏 阅读(30) 评论(0) 推荐(0) 编辑