1-js/06-advanced-functions/10-bind: fix markup
This commit is contained in:
parent
042ebed10b
commit
940535897c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ The basic syntax is:
|
||||||
```js
|
```js
|
||||||
// more complex syntax will be little later
|
// more complex syntax will be little later
|
||||||
let boundFunc = func.bind(context);
|
let boundFunc = func.bind(context);
|
||||||
````
|
```
|
||||||
|
|
||||||
The result of `func.bind(context)` is a special function-like "exotic object", that is callable as function and transparently passes the call to `func` setting `this=context`.
|
The result of `func.bind(context)` is a special function-like "exotic object", that is callable as function and transparently passes the call to `func` setting `this=context`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue