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.
-
Yes, today there is no need to remember EVERY API in your language. Thanks google for that.
But that doesn't mean you shouldn't know the freaking APIs of your language!!!! Read the documentation for it!!! Not know the signature of a function it's not the same as not knowing what a function does.
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