Ranges

Cyril Auburtin cyril.auburtin at gmail.com
Wed Jul 18 16:48:11 UTC 2018


I really like this possible new syntax for ranges:

```js
[2:9] // [2,3,4,5,6,7,8,9]
[1, 2, 4:7, 9] // [1, 2, 4, 5, 6, 7, 9]
[1:6:2] // [1, 3, 5]
```

Would someone in TC39 be up to champion this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180718/a0f14be9/attachment.html>


More information about the es-discuss mailing list