Why new syntax here? This is just a method that's missing: `array.last(n)`.

`array[-1]` would break things and it is difficult to find out where.
Consider:

``` javascript
for (var i = array.length - 1; array[i]; i--) doSomething(array[i]);
```

Not the best way to write such a loop but changing `array[-1]` would break
it.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to