실행 컨텍스트가 생성될 때 자바스크립트 엔진이 수행하는 주요 작업은 무엇인가요? #22
Unanswered
lledellebell
asked this question in
실행 컨텍스트(Execution Context)
Replies: 1 comment
-
|
자바스크립트 엔진은 실행 컨텍스트를 다룰 때 여러 단계로 나누어 작업을 진행합니다. 이러한 단계적 접근은 코드를 효율적으로 처리하고, 각 코드 블록이 필요로 하는 환경을 정확하게 설정하기 위해 필수적입니다. 생성 단계 (Creation Phase): 이 단계에서 자바스크립트 엔진은 스코프, 변수, 함수 선언 등이 담긴 변수 객체를 생성하고, 스코프 체인을 형성하며, this 키워드의 값을 결정합니다. 이는 코드 실행 전에 실행 컨텍스트를 준비하는 초기 설정 단계라고 할 수 있습니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions