3 ms·
Would you elaborate why you think so?
by grzm 9y ago
Would you elaborate why you think so?
- bastawhiz 9y agoYou should be able to curry any arbitrary function with an arbitrary number of arguments. Providing a value for the last argument should return the evaluated result of the curried function. If you're not using a JavaScript function's `.length` property to do currying, it's by definition not currying.