Challenge: Purify the Function

This challenge will test your skills in implementing pure functions in JavaScript.

We'll cover the following...

Problem statement #

The following code has an impure function ...