Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Typo]- In chapter Arrays in the section of loops we have to change `number` to `index`

Open
#3,940 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
58/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Open the Arrays chapter and its Loops section at the linked tutorial page, then locate the sentence about for..of and the current element. Change the inaccurate term “number” to “index” and verify that the sentence clearly describes the current element’s index; no test is mentioned.

Written by the indexing model from the issue text.

Description

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)

Image

[X] I would love to work on this issue.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from javascript-tutorial/en.javascript.info

All issues in javascript-tutorial/en.javascript.info

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.