jpcasa
12/21/2018 - 3:50 AM

JS Pure Functions

Pure Functions

A pure function is a function which:

  • Given the same input, will always return the same output.
  • Produces no side effects.