ํจ์ function sayHello(arg){ console.log('Hello!', arg); } sayHello("HJ"); ํจ์๋ ์ธ์(argument)๋ฅผ ๋ฐ๋๋ค. ์ธ์๋ ์์ด๋ ๋จ. ๋ฐฑํฑ(``) function sayHello(name, age){ return `Hello ${name} you are ${age} years old.`; } const greetHJ = sayHello("HJ", 20); console.log(greetHJ); ""์ ''๋ ๋ ๋ค String์ด๋ค. ํ์ง๋ง ๋ฐฑํฑ(``)์ ์์ ํ ๋ค๋ฅธ ๊ธฐ๋ฅ์ ๊ฐ์ง๊ณ ์๋ค. ๊ฐ์ฒด ์์ ํจ์ const calculator = { plus: function(a, b){ return a + b; }, sub: function(a, b){ r..