Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion this & object prototypes/ch3.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ myArray[0]; // "foo"
myArray[2]; // "bar"
```

Arrays *are* objects, so even though each index is a positive integer, you can *also* add properties onto the array:
Arrays *are* objects, so even though each index is a non-negative integer, you can *also* add properties onto the array:

```js
var myArray = [ "foo", 42, "bar" ];
Expand Down