diffentuate pure and impure function
Answers
Answered by
5
Answer:
In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input. In impure function it mutates data/variable outside it's lexical scope Hope this helps
Answered by
6
Explanation:
Answer. In pure function it doesn't modify the external variable/data outside the scope and results the same output given in the same input. In impure function it mutates data/variable outside it's lexical scope Hope this helps..
Similar questions