Written by
java-style
on
on
자바스크립트 개발자는 이러한 함수 정의 방법을 알아야 한다.
자바스크립트 개발자는 이러한 함수 정의 방법을 알아야 한다.
화살표 함수입니다.
const myfunction = () => console.log("function called");
const myfunction = () => { console.log("function called"); return "anything"; }
이 함수는 자체 호출
(function myfuntion(){ console.log("function called"); })()
중첩 함수
function outter(){ function inner1(){ //code } }
from http://gong-tech.tistory.com/90 by ccl(A) rewrite - 2021-09-28 02:27:13