함수
하나의 명령으로 특정 코드를 실행할수 있게 해준다.
*/파라미터 : input값
function 함수의 이름(파라미터){
}
function add(a, b) {
return a + b;
}
const sum = add(1,2);
Last updated
Was this helpful?
하나의 명령으로 특정 코드를 실행할수 있게 해준다.
*/파라미터 : input값
function 함수의 이름(파라미터){
}
function add(a, b) {
return a + b;
}
const sum = add(1,2);
Last updated
Was this helpful?