Skip to content

Commit 48d233c

Browse files
authored
Typo
1 parent f426fd6 commit 48d233c

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/11-currying-partials

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/11-currying-partials/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ More advanced implementations of currying like [_.curry](https://lodash.com/docs
148148

149149
```js
150150
function curry(f) {
151-
return function(..args) {
151+
return function(...args) {
152152
// if args.length == f.length (as many arguments as f has),
153153
// then pass the call to f
154154
// otherwise return a partial function that fixes args as first arguments

0 commit comments

Comments
 (0)