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.
Table of contents
Master the JavaScript Interview: What is a Pure Function?Pure Functions Produce No Side EffectsImmutability1 Comment
Sort: