- 概念题 concept
考查 html、css、js、浏览器、网络、框架等各种概念
如,什么是替换元素?什么是 BFC?什么是闭包?什么是跨域?什么是 http、http2、https、websocket?React 合成事件?
- 实现题 implement
考查某些常见方法或类的实现,这些方法可能是标准中的,可能是 lodash、underscore 这些工具函数库中的,也可能是一些常见业务
如,手写 bind、手写 promise、实现一个防抖函数、实现一个深拷贝函数、实现一个轮询。
- 调试题 debugging
人脑 debug,一般给一段代码,说出它的输出结果或者呈现效果
如,this、作用域、异步等相关代码
- 算法题 algorithm
算法题和实践题虽然都是写代码,但区别是算法题会用到一些算法和数据结构相关知识,较难的算法题有正确的思路也算不错了
如,排序、查找、遍历 DOM 树、最长公共字串等
word-break、word-wrap、white-space
史上最走心 webpack4.0 中级教程——配置之外你应该知道的事
css 属性列表 https://csstriggers.com/