Skip to content
Archive
Main Navigation
Posts
Articles
Dev
Studies
Architecture
Patterns
Browser
Clean Code
Frontend
Git
HTTP
Javascript
Node
React
Security
Typescript
Vue3
Web 용어정리
Books
Composing Software
코어 자바스크립트
TCP/IP 완벽 가이드
Node.js 교과서(개정 3판)
코딩테스트
GitHub
Appearance
GitHub
Menu
Return to top
On this page
Table of Contents for current page
variable environment
#
lexEnv와 동일한 구조와 기능을 가지는데 2가지 차이점을 가집니다.
context를 생성할 때 varEnv에 가장 먼저 환경정보가 저장되고 lexEnv에 복사된다.
초기 context에서의 환경정보 snapshot이 그대로 유지되고, lexEnv의 환경정보는 코드 실행 중 변경사항이 바로 반영된다.