This commit is contained in:
Yofri 2017-06-27 21:31:13 +07:00
parent d2691263ce
commit 15d0e14b87

View file

@ -100,7 +100,7 @@ alert( arr ); // "I", "study", "complex", "language", "JavaScript"
``` ```
````smart header="Negative indexes allowed" ````smart header="Negative indexes allowed"
Here and in other array methods, negative indexes are allowed. The specify the position from the end of the array, like here: Here and in other array methods, negative indexes are allowed. They specify the position from the end of the array, like here:
```js run ```js run
let arr = [1, 2, 5] let arr = [1, 2, 5]