[Typo]- In chapter Arrays in the section of loops we have to changed number to index by sajwan05 · Pull Request #3949 · javascript-tutorial/en.javascript.info

oh, I see.

I'm not a native English speaker, so I asked chatgpt :

«
I see what you meant: using capitalize as a sort of label, like saying “in uppercase.”
The problem is that English doesn’t use capitalize that way. If we want the neutral/label form, the idiomatic option is still capitalized.
So even though your intention makes sense, capitalized is the correct and natural choice here.
»