Pure and Impure functions are the two terms that you always hear in a programming language. Pure Function is always dependent on arguments and there should not be any side effects. Side Effects are when you try to use external code in the function or if you are mutating a variable then it creates a Side Effect.
5 Comments
Sort: