个人技术文章分享
(e)=>{} function(e) {}
(e)=>{}中可以引用上下文中的this,而function(e) {}会创建自己的this,在函数体中需要引用this时,需要先在外部转换
(e)=>{}
function(e) {}