function double(n) { return n * 2; }
double(5); // 10
double(5); // 10 β deterministicPure functions are deterministic β calling them again with the same args gives the same result.
Create a pure function that doubles a number without modifying any external state.
Challenge: Implement a double function that takes a number and returns it multiplied by 2.