What is a pure function?

What is a pure function?



Answer: A function with no side-effects that is a function of just it's inputs. Also returns the same results, given the same inputs.


Learn More :