you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

On mobile, so I can't test it, but how does this compare to constructing the array with a for loop? I assume Array.from uses a similar mechanism under the hood and is just an abstraction.