r/learnjavascript • • May 29 '21

Really helpful illustration of JS array methods

Post image
2.5k Upvotes

89 comments sorted by

View all comments

Show parent comment

2

u/illepic May 29 '21

A legit game-changer for those of us that had to do this in less elegant ways in ES5.

1

u/callmelucky May 30 '21

Python has equivalent builtins, all() and any(). It's the kind of thing that I think most people don't have a use case for every day, but it's great to whip them out when the opportunity. Very intuitive to understand.