Skip to content

一名合格的中级前端工程师需要掌握的28项 JavaScript 技能

English | 中文

网站 | 博客

  • [x] 数组Api的内部原理
  • [x] reduce实现数组的Api
  • [x] ES6 class的ES5实现
  • [x] 函数柯里化/偏函数
  • [x] 函数节流/函数防抖
  • [x] 斐波那契数列及优化
  • [x] 发布订阅模式
  • [x] bind/call的实现
  • [x] 简易的CO模块(自执行generator)
  • [x] 图片懒加载(getBoundingClientRect/intersectionObserver)
  • [x] new关键字的实现
  • [x] Object.assign的实现
  • [x] instanceof的实现
  • [x] 私有变量的4种实现方法
  • [x] 洗牌算法
  • [x] 单例模式
  • [x] promisify函数
  • [x] 优雅处理 async/await
  • [x] JSON.stringify 实现
  • [x] new koa2中间件原理 koa-compose
  • [x] new promise相关的api的实现(all,race,finally)