Skip to content

Tag: map()

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 iterate the list using the functions like map(), reduce(), and filter() Let’s see about map() function in this post. I have started exploring about functional programming in recent times. The topic looks very interesting and… Read more map() – JavaScript Functional Programming