re: Writing Immutable and Functional JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: const twoAddedPointFree = arr.map(addTwo) // [ 3, 4, 5]
 

🤣🤣🤣🤣 I math'd wrong 😅😅😅

Thank you! 😁

 

Welcome! You know it'd be great if you add some examples of the perils of mutating objects / data in an app, and how it can lead to debugging nightmare. Just a thought.

code of conduct - report abuse