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