Skip to content

Commit

Permalink
Update 건우.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gun woo authored Jul 19, 2023
1 parent fda5ec6 commit e340481
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions [23장] 실행 컨텍스트/건우.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
+ 평가 과정이 끝나면 선언문을 제외한 소스코드를 순차적으로 실행합니다.
+ 실행 과정에서 변수 값의 변경 등, 실행 결과는 다시 실행 컨텍스트에 반영됩니다.

# 어떨때 실행 컨텍스트를 생성하는지?
1. 전역공간은 자동으로 컨텍스트로 구성된다.
2. 함수를 실행한다.
3. eval()함수를 실행한다.
4. block을 만든다 (ES6+)
5. 모듈 코드는 모듈 별로 독립적인 컨텍스트를 생성.

# 실행 컨텍스트의 역할
```js
const x = 1;
Expand Down

0 comments on commit e340481

Please sign in to comment.