JS Hoisting

JS Hoisting

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Jan 10 14:5
Editor
Edited
Edited
2023 Oct 14 3:32

Hoisting is not a term normatively defined in the ECMAScript specification.

브라우저가 자바스크립트 함수를 변수보다 먼저 해석
함수표현식은 호이스팅에 의해 함수는 안가고 변수만 가므로 중간에 호출하면 오류
 
 
 
 
Hoisting - MDN Web Docs Glossary: Definitions of Web-related terms | MDN
JavaScript Hoisting refers to the process whereby the interpreter appears to move the declaration of functions, variables, classes, or imports to the top of their scope, prior to execution of the code.
Hoisting - MDN Web Docs Glossary: Definitions of Web-related terms | MDN
 

Recommendations