=>
是es6语法中的arrow function
(x) => x + 6
相当于
function(x){ return x + 6; };
标签:function,es6,return,含义,js,arrow From: https://www.cnblogs.com/vPYer/p/16771372.html
=>
是es6语法中的arrow function
(x) => x + 6
相当于
function(x){ return x + 6; };
标签:function,es6,return,含义,js,arrow From: https://www.cnblogs.com/vPYer/p/16771372.html