diff --git a/1-js/06-advanced-functions/11-currying-partials/article.md b/1-js/06-advanced-functions/11-currying-partials/article.md index 9484bf69..e209b5fd 100644 --- a/1-js/06-advanced-functions/11-currying-partials/article.md +++ b/1-js/06-advanced-functions/11-currying-partials/article.md @@ -148,7 +148,7 @@ More advanced implementations of currying like [_.curry](https://lodash.com/docs ```js function curry(f) { - return function(..args) { + return function(...args) { // if args.length == f.length (as many arguments as f has), // then pass the call to f // otherwise return a partial function that fixes args as first arguments