0

What is the difference between pure function and impure function?

4th Sep 2019, 7:00 AM
Sai Krishna
Sai Krishna - avatar
3 Réponses
+ 4
Pure function has its parameter used within the function but impure doesn't use it within and without
4th Sep 2019, 8:24 PM
Joseph Onipede
Joseph Onipede - avatar
0
Pure functions do not modify the value of the arguments passed to the function unlike impure functions
4th Sep 2019, 10:39 AM
Riya Jha
Riya Jha - avatar