Skip to content

Commit b8d63d3

Browse files
committed
improvements
1 parent 439cf4c commit b8d63d3

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ function mul(a, b) {
2828
Let's use `bind` to create a function `double` on its base:
2929

3030
```js run
31+
function mul(a, b) {
32+
return a * b;
33+
}
34+
3135
*!*
3236
let double = mul.bind(null, 2);
3337
*/!*

0 commit comments

Comments
 (0)