Pure functions

A pure function is a function where for an input X, the output will be always Y under any circumstances. The output will never change for the same input for a pure function. So, for pure functions, there are no side effects or dependencies on the runtime environment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset