Real World Currying of JavaScript Functions