- 数组扁平化:flat
- 数组去重
- 重写数组方法
- every、filter、find、forEach、indexof、map、reduce、some
- 深拷贝
- 实现 new
- 防抖 debounce、节流 throttle
- 实现 apply、call、bind
- 发布订阅模式:on once emit off
- 函数柯里化
- instanceof
- 实现 Promise
- 实现 Promise.all、Promise.race、Promise.any、Promise.allSettled、Promise.prototype.finally
- 遍历节点
- 深度优先遍历(递归)
- 广度优先遍历(队列)
- 生成器 + yield 遍历
- 实现 LRU 缓存
- 数组跟树的相互转换
- 实现 Lazy-man