Feature-Request: Add Range type data

Dayvson Lima dayvsonlima31 at gmail.com
Fri Jul 15 04:33:45 UTC 2016


Example:

var myRange = new Range(0,4);

myRange == (0..4)   #=> true


new Array(myRange)  #=> [0, 1, 2, 3, 4]

var charRange = new Range('a', ' d');  #=> ('a'..'d')


new Array(myRange)  #=> ['a', 'b', 'c', 'd']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160715/8658c7ff/attachment.html>


More information about the es-discuss mailing list