愿时光能缓,愿故人不散!
ES6 添加了一个特殊的语法形式用于函数声明,叫作箭头函数
var foo = a => { console.log( a ); }; foo( 2 ); // 2
块作用域的替代方案 关于this