JavaScript: Currying

The art of writing a function that returns nested functions for modular, easier to test, and reusable code.