top | item 19013049 (no title) blinger | 7 years ago Array.from({ length: 5 }).forEach(fn) discuss order hn newest Waterluvian|7 years ago Oh not bad. I wasn't aware of that!I'm guessing it constructs the whole array upfront. Maybe there's a generator way to do it too.
Waterluvian|7 years ago Oh not bad. I wasn't aware of that!I'm guessing it constructs the whole array upfront. Maybe there's a generator way to do it too.
Waterluvian|7 years ago
I'm guessing it constructs the whole array upfront. Maybe there's a generator way to do it too.