09 2023 档案

摘要:1 // ES6 ES2015 2 // https://promisesaplus.com 3 4 const PROMISE_STATUS_PENDING = 'pending' 5 const PROMISE_STATUS_FULFILLED = 'fulfilled' 6 const PRO 阅读全文
posted @ 2023-09-17 19:51 KooTeam 阅读(3) 评论(0) 推荐(0) 编辑
摘要:响应式原理实现 1 // 保存当前需要收集的响应式函数 2 let activeReactiveFn=null 3 class Depend{ 4 constructor(){ 5 this.rectiveFns=new Set() 6 } 7 depend(){ 8 if(activeReacti 阅读全文
posted @ 2023-09-06 17:17 KooTeam 阅读(10) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示