Answer
For the same inputs it returns the same result and does not produce observable side effects. Pure functions are easier to test and reason about.
For the same inputs it returns the same result and does not produce observable side effects. Pure functions are easier to test and reason about.