DEV Community

Discussion on: Dependency Injection in JavaScript

 
restuta profile image
Anton Vynogradenko • Edited

To be annoyingly pedantic, createFoo above is not a curried function, because it can't be called like createFoo(wow, data) and like createFoo(wow, data) at the same time, it's a higher order function with aurity of 1

Thread Thread
 
kayis profile image
K

I allow it!