Consider to clarify "use strict" concept
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 68/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
研究方向
從 javascript.info/strict-mode 和 javascript.info/javascript-specials#strict-mode 中關於嚴格模式的部分開始,並比較其中引用的說明。釐清斜體句子的含義,使其不會暗示 "use strict" 會啟用舊有行為;當說明符合更清楚的措辭並消除歧義時,即可視為完成。
由索引模型根據 Issue 內容生成。
描述
Hello
About "use strict" in https://javascript.info/strict-mode is indicated:
This was the case until 2009 when ECMAScript 5 (ES5) appeared. It added new features to the language and modified some of the existing ones. To keep the old code working, most such modifications are off by default. You need to explicitly enable them with a special directive: "use strict"
The italic part is not very clear (I read the spanish version too), it gives the idea that "use strict" enables the old mode code
Of course in https://javascript.info/javascript-specials#strict-mode is more clear with:
To fully enable all features of modern JavaScript, we should start scripts with "use strict".
Thank you
- 主要語言
- HTML
- 星號
- 25.5k
- 分支
- 4k
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
javascript-tutorial/en.javascript.info 的其他 Issue
-
難度 1/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 1/5 1 小時以內 新手友好度 92/100
-
Keyboard events: keydown filtering example can't block IME-composed input (Korean/Japanese/Chinese) 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
javascript-tutorial/en.javascript.info#3978 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
查看 javascript-tutorial/en.javascript.info 的全部 Issue
相似的 Issue
-
user-reported
難度 2/5 1-3 小時 新手友好度 85/100
Kong/developer.konghq.com#7316 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
HarperFast/skills#96 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
難度 1/5 1 小時以內 新手友好度 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) 未關閉category/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
難度 1/5 1 小時以內 新手友好度 84/100