Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of date information about the Lexical Environment #3261

Open
piotrpospiech opened this issue Nov 11, 2022 · 1 comment
Open

Out of date information about the Lexical Environment #3261

piotrpospiech opened this issue Nov 11, 2022 · 1 comment

Comments

@piotrpospiech
Copy link

I was reading chapter 6.3 Variable scope, closure and I came across the Lexical Environment part. I tried to find it in the latest EcmaScript specification and I found only section about Environment Record. There is a difference in the Environment Record structure.

Every Environment Record has an [[OuterEnv]] field, which is either null or a reference to an outer Environment Record.

Lexical Environment was removed in this PR: tc39/ecma262#1697.

@iliakan
Copy link
Member

iliakan commented Nov 11, 2022

Good catch =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants