摘要: const pending = 'pending' const fulfilled = 'fulfilled' const rejected = 'rejected' class MyPromise { #state = pending #result = undefined #handler = 阅读全文
posted @ 2024-05-22 17:47 howhy 阅读(3) 评论(0) 推荐(0) 编辑