Skip to content

Commit ca72abb

Browse files
authored
Merge pull request #3700 from sneeed/patch-2
change example element of multidimensional array
2 parents 4104eba + f684d39 commit ca72abb

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
@@ -426,7 +426,7 @@ let matrix = [
426426
[7, 8, 9]
427427
];
428428

429-
alert( matrix[1][1] ); // 5, the central element
429+
alert( matrix[0][1] ); // 2, the second value of the first inner array
430430
```
431431

432432
## toString

0 commit comments

Comments
 (0)