This principle is old news in (and any functional language, true).
---
RT @VladPasca5
JavaScript tip💡

Stop using "forEach" or "for" loops to loop through an array's items

Instead, start using "map" like in this example

👇

twitter.com/VladPasca5/status/

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.