Understanding pure functions in javascript
Pure functions allow us to get a predictable result every time they are been invoked. They find its applications in redux, functional programming. Hence in order for a function to be classified as pure, it must fulfill certain rules:
1) Given the ...
rock-e.hashnode.dev3 min read