Changes to "access-array-data-with-indexes.english" challenge description (#37730)
* edited description to be a little more clear on how to access elements in an array through indeces * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.english.md Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
parent
84d683940a
commit
f3ee4f85ae
@ -9,7 +9,7 @@ forumTopicId: 16158
|
||||
## Description
|
||||
<section id='description'>
|
||||
We can access the data inside arrays using <dfn>indexes</dfn>.
|
||||
Array indexes are written in the same bracket notation that strings use, except that instead of specifying a character, they are specifying an entry in the array. Like strings, arrays use <dfn>zero-based</dfn> indexing, so the first element in an array is element <code>0</code>.
|
||||
Array indexes are written in the same bracket notation that strings use, except that instead of specifying a character, they are specifying an entry in the array. Like strings, arrays use <dfn>zero-based</dfn> indexing, so the first element in an array has an index of <code>0</code>.
|
||||
<br />
|
||||
<strong>Example</strong>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user