Using the ~ to count from the back of the array.

Basically 

```js
let x = [1,2,3,4,5];
x[4] === x[~0] === 5; //I know this is not how JS checking works
```

Sebastian 
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to