This principle is old news in #ClojureScript (and any functional language, true). #listcomprehension
---
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

👇

https://twitter.com/VladPasca5/status/1436735335539658753

Vlad Pasca on Twitter

“JavaScript tip💡 Stop using "forEach" or "for" loops to loop through an array's items Instead, start using "map" like in this example 👇”

Twitter
@worldsendless `filter` and `reduce` are handy, too.