map() – JavaScript Functional Programming

What is functional programming? Functional programming is a programming paradigm, the process of building components using pure functions and avoiding shared state, mutable data and side-effects. In simple, functional programming is doing our tasks with functions, avoiding side effects by using pure functions. For example, Without iterating the list using user defined loops; we can…

%d bloggers like this: