Skip to content

Commit 02b43db

Browse files
authored
Merge pull request #3005 from joaquinelio/patch-11
rephrase
2 parents 8b295f6 + fb31361 commit 02b43db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/04-array/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ The call to `new Array(number)` creates an array with the given length, but with
530530
Getting the elements:
531531

532532
- we can get element by its index, like `arr[0]`
533-
- also we can use `at(i)` method to get negative-index elements, for negative values of `i`, it steps back from the end of the array. In the rest it works same as `arr[i]`, if `i >= 0`.
533+
- also we can use `at(i)` method that allows negative indexes. For negative values of `i`, it steps back from the end of the array. If `i >= 0`, it works same as `arr[i]`.
534534

535535
We can use an array as a deque with the following operations:
536536

0 commit comments

Comments
 (0)