Provide an easy way to create a new array, filled via a mapping function

You could still do Number.range(0, count).map(i => ...).toArray() when combined with GitHub - tc39/proposal-iterator-helpers: Methods for working with iterators in ECMAScript. Is that sufficient?

1 Like