improvements

This commit is contained in:
Ilya Kantor 2019-03-23 02:14:04 +03:00
parent 439cf4c491
commit b8d63d3188

View file

@ -28,6 +28,10 @@ function mul(a, b) {
Let's use `bind` to create a function `double` on its base: Let's use `bind` to create a function `double` on its base:
```js run ```js run
function mul(a, b) {
return a * b;
}
*!* *!*
let double = mul.bind(null, 2); let double = mul.bind(null, 2);
*/!* */!*