WEB/JAVASCRIPT
JavaScript Hoisting
NGA_
2020. 4. 17. 23:28
Javascript에서는 아래와 같이 함수를 선언하기 전에 함수를 실행할 수 있다.
test()
function test(){
return "test";
}
// result "test"