DEV Community

Discussion on: Smooshing JavaScript

Collapse
 
jbristow profile image
Jon Bristow

How is Array.zip adorable? It's a standard sugar method in a bunch of languages.

Collapse
 
yechielk profile image
Yechiel Kalmenson

I just liked the visual of two arrays getting zipped together, something like a real-life zipper.

Yes, it exists in other languages as well, Ruby is just the first one I came across it, and the one I primarily work with nowadays.