Pure vs Impure Functions in JavaScript

Understand the Difference Between Pure and Impure Functions in JavaScript