摘要: 手写简易 Promise 实现 以下是一个简化版的 Promise 实现,包含核心功能: class MyPromise { constructor(executor) { this.state = 'pending'; // 状态:pending, fulfilled, rejected this 阅读全文
posted @ 2025-02-24 21:40 starking_front-end 阅读(2) 评论(0) 推荐(0) 编辑
Live2D
欢迎阅读『2025 年 2月 24 日 随笔档案』
点击右上角即可分享
微信分享提示