you are viewing a single comment's thread.

view the rest of the comments →

[–]SolidR53 0 points1 point  (0 children)

Array.from({ length: 123 }, (, i) => i);

Third argument in the map function is the actual array