javascript-tutorial / javascript-tutorial/en.javascript.info
[Typo]- In chapter Arrays in the section of loops we have to change `number` to `index`
未關閉
還沒有人認領這個 Issue。
- 主要語言
- HTML
- 星號
- 25.5k
- 分支
- 4k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In chapter Arrays 's section Loops there in sentence The for..of doesn’t give access to the **number** of the current element, just its value, but in most cases that’s enough. And it’s shorter.
Instead of number we have to use index.
Because using number is not really telling us we're talking about index or number (which can be value)
[X] I would love to work on this issue.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
開啟連結教學頁面中的 Arrays 章節及其 Loops 部分,然後找到關於 for..of 和目前元素的句子。將不準確的術語「number」改為「index」,並確認該句清楚地描述了目前元素的索引;未提及測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 58/100