A pure function is a process which takes some input, called arguments, and produces some output called a return value. Pure functions are essential for a variety of purposes, including functional programming, reliable concurrency, and React+Redux apps. There may be a different way to look at them that will make functional programming easier.

8m read timeFrom medium.com
Post cover image
Table of contents
Master the JavaScript Interview: What is a Pure Function?Pure Functions Produce No Side EffectsImmutability
1 Comment

Sort: