没个目录之前文章查起来太不方便,有个索引,速度翻倍。这是手写系列
-
-
Object.keys()
-
Object.values()
-
Object.entries()
-
-
- 4.
函数防抖 (debounce) -
函数节流 (throttle)
- 4.
-
- 6.
浅拷贝 (shallowClone) -
深拷贝 (deepClone)
- 6.
-
- 8.
instanceof -
new 关键字
- 8.
-
- 10.
currying (柯里化) -
Object.create()
- 10.
-
- 12.
call -
apply
- 12.
-
- 14.
bind -
数组去重 (array unique)
- 14.
-
- 16.
Array.flat -
Array.of
- 16.
-
- 18.
compose(函数组合)
- 18.
-
- 19.
模板解析(模板字符串)
- 19.
-
- 20.
对象内存计算
- 20.
-
- 21.
Array.prototype.map() -
Array.prototype.filter()
- 21.
-
- 23.
Array.prototype.reduce()
- 23.
-
- 24.
手写发布订阅模式
- 24.