Ranges

Hikaru Nakashima oao.hikaru.oao at gmail.com
Tue Dec 13 11:07:45 UTC 2016


My idia is as follows:

```
[1..5]  //-> [1,2,3,4,5]

(1..5)   //-> iterate 1, 2, 3, 4, 5


[1..Infinity]  // -> TypeError because n > 2**32-1

(1..Infinity)  // -> valid iterator
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161213/b994f4a6/attachment.html>


More information about the es-discuss mailing list