Skip to content

Commit cd988dd

Browse files
committed
Fix a typo
1 parent 03b8f2e commit cd988dd

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
@@ -98,7 +98,7 @@ The "trailing comma" style makes it easier to insert/remove items, because all l
9898

9999
Let's say we want the last element of the array.
100100

101-
Some programming languages allow to use negative indexes for the same purpose, like `fruits[-1]`.
101+
Some programming languages allow us to use negative indexes for the same purpose, like `fruits[-1]`.
102102

103103
Although, in JavaScript it won't work. The result will be `undefined`, because the index in square brackets is treated literally.
104104

0 commit comments

Comments
 (0)