re: 13 useful JavaScript array tips and tricks you should know VIEW POST

FULL DISCUSSION
 

I didn't know about the second parameter of Array.from() as well, but I don't actually see a reason to use it instead of Array.map() in any situation.

code of conduct - report abuse