https://programwithjayanth.com/interviews/javascript/currying-in-javascript/
Currying in Javascript