화살표 함수
//두개의 인수가 있는 화살표 함수
const testArea = (width, height) => {
return total = width * height;
};
// 인수가 없는 화살표 함수
const testArea = () => {
console.log('test');
};
// 인수가 하나인 화살표 함수
const testArea = help => {
console.log(`say ${help}`);
};
testArea ('Hi') //'say Hi'