function helloFunc() { console.log(1234); //실행코드 } //함수 호출 helloFunc(); //1234 function returnFunc() { return 123; } let a = returnFunc(); 반환 console.log(a); //123 function sum(a, b) { //a와 b는 매개변수(Parameters) return a+b; } //재사용 let a = sum(1,2); let b = sum(7, 12); let c = sum(2, 4); //결과 console(a, b, c); //3, 19, 6 //이름있는 함수 function hello() { console.log('Hello~'); } //익명 함수 let world = fun..