HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by phogster | Hacker News Reader
Parent
Full thread
phogster
·
Never heard of a "from" loop before.
View on HN
franky47
·
Array.from lets you build an array from an iterable source (often used in conjunction with `new Set` to eliminate duplicates), or in this case, of a fixed length.
klyrs
·
Not JavaScript, but...
https://en.m.wikipedia.org/wiki/COMEFROM
Reply on news.ycombinator.com