11
function foo(){ console.log('hello'); } foo(); let foo1 = () => console.log('hello'); foo1(); function foo2(v){ return v; } let foo2 = v => v; // 多个参数必须用() let foo3 = (a, b) => {let c = 1; console.log(a + b + c);}