pure function
Is a function that only depends on the input parameters, not on what you have on the disk, your internet connection or anything else. You just give it a parameter and you can predict what it gives to you.
Is a function that only depends on the input parameters, not on what you have on the disk, your internet connection or anything else. You just give it a parameter and you can predict what it gives to you.