构造函数可以使用 new 生成实例
箭头函数没有自己的 this,它的 this 是继承函数所处上下文的 this,call、apply等无法改变 this 指向
1 | let obj = { |

- 箭头函数没有 arguments 类数组,只能基于 …arg 获取传递的参数集合
1 | let fn = () => { |
Uncaught ReferenceError: arguments is not defined
1 | let fn = (...arg) => { |
[10, 20, 30]
- 箭头函数不能被 new 执行,没有 prototype 属性
1 | let a = () => {} |
