js中 => 的含义

 

=>es6语法中的arrow function

(x) => x + 6

相当于

function(x){
    return x + 6;
};
原文地址:https://www.cnblogs.com/xiaohuizhenyoucai/p/11020862.html