improvements

This commit is contained in:
Ilya Kantor 2019-03-23 02:14:21 +03:00
parent b8d63d3188
commit 50bee36111

View file

@ -50,6 +50,10 @@ Please note that here we actually don't use `this` here. But `bind` requires it,
The function `triple` in the code below triples the value: The function `triple` in the code below triples the value:
```js run ```js run
function mul(a, b) {
return a * b;
}
*!* *!*
let triple = mul.bind(null, 3); let triple = mul.bind(null, 3);
*/!* */!*