箭头函数是匿名函数
因此没有自己的this,argument,super或new.target
(a, b)=> {renturn a}
a => {return a}
()=> {return a} // underfined
箭头函数不会创建自己的this,它只会从自己的作用域链的上一层继承this
因此:
var fn = () =>{ console.log(this) }
fn.call( {name: 'obj'} ) // window,this指向了fn的作用域上层,并没有指向{ name: 'obj' }