javascript-tutorial / javascript-tutorial/en.javascript.info

Out of date information about the Lexical Environment

未關閉
#3,261 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

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: https://github.com/tc39/ecma262/pull/1697.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從第 6.3 章開始,具體查看 Lexical Environment 部分,並將其中的說明與目前的 ECMAScript Environment Records 部分以及連結的 TC39 PR 進行比較。更新過時的術語和結構描述,使其符合目前的規範,同時保留教學中的說明和連結。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。