Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You can manipulate the array via the second and third arguments (index and array) on forEach and map loops.
-
@Voxera
Functionally it's right. Foreach enumerates and side effects then returns void, map is a method of the Functor type which operates on the data in a T -> R fashion.
JavaScript blurs the line because it doesn't enforce immutability so the morphism's application is muddied. -
@Sh4d0w ohhhh, it’s like a picture maker. That’s a really really cool concept, looks well done too.
Related Rants
Here are some facts I found out recently when my linter threw some errors. Just wanted to share with the community. Add anything in the commnets that you wanna share that others don't know.
rant
coding
developer
javascript
js