0
What is pure function? Please give one example also
I didn't understand concept of being pure or impure
1 Réponse
+ 1
A pure function only affects its input and output parameters. A non-pure function affects other objects outside its scope. This can also be known as a function having side-effects.