Hacker News new | ask | show | jobs
by franky47 1918 days ago
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.