tc39 / proposal-iterator.range

A proposal for ECMAScript to add a built-in Iterator.range()

Home Page:https://tc39.es/proposal-iterator.range/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comparison of Range in slice notation proposal

hax opened this issue · comments

There are some discussion in slice notation proposal which also suggest Range, copy from C# index and range.

Basically, Range in that proposal is a little bit like SafeIntegerRange, and optimized for array index use case.

If there is Symbol.slice, I'd like to add it to the return value of range (#12 )

Looks like the slice notation proposal isn't active for these years, I'll close this for now.