Ranges

Hikaru Nakashima oao.hikaru.oao at gmail.com
Thu Nov 3 15:52:05 UTC 2016


How about this

```
for ( i of Array.range(1, 10) ) { ... }
// OR
for ( i of [1..10] )  { ... }
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161104/1ec6f705/attachment.html>


More information about the es-discuss mailing list