Pure Function

A pure function is defined by two properties:

  1. it does not have any side effects
  2. for a specific set of arguments, the result of the function will always be the same.

A pure function is the programmatic equivalent of a mathematical function.

1 Backlinks   backlinks