Range literals could take form in
https://github.com/tc39/proposal-slice-notation/issues/19#issuecomment-421453934

On Thu, Jul 26, 2018 at 1:30 PM Cyril Auburtin <[email protected]>
wrote:

> I started wrapping the idea here https://github.com/caub/proposal-range
>
> On Wed, Jul 18, 2018 at 6:48 PM Cyril Auburtin <[email protected]>
> wrote:
>
>> 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?
>>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to