0
Pure functions
Can anyone help clarify what the side effects are that required from pure functions?
1 Respuesta
+ 1
For a function to be pure, it needs to always give the same output for a given input, and have no side-effect, like altering a reference, printing something, etc.