We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f2f67 commit b9ccde1Copy full SHA for b9ccde1
1 file changed
1-js/99-js-misc/03-currying-partials/article.md
@@ -36,7 +36,7 @@ let curriedSum = curry(sum);
36
alert( curriedSum(1)(2) ); // 3
37
```
38
39
-正如你所看到的,实现非常简单:只有两个包装器(wapper)。
+正如你所看到的,实现非常简单:只有两个包装器(wrapper)。
40
41
- `curry(func)` 的结果就是一个包装器 `function(a)`。
42
- 当它被像 `sum(1)` 这样调用时,它的参数会被保存在词法环境中,然后返回一个新的包装器 `function(b)`。
0 commit comments