Add missing "!"
This commit is contained in:
parent
eda333d423
commit
c20baa70ce
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ let user = {
|
||||||
|
|
||||||
let say = user.say.bind(user);
|
let say = user.say.bind(user);
|
||||||
|
|
||||||
say("Hello"); // Hello, John ("Hello" argument is passed to say)
|
say("Hello"); // Hello, John! ("Hello" argument is passed to say)
|
||||||
say("Bye"); // Bye, John ("Bye" is passed to say)
|
say("Bye"); // Bye, John! ("Bye" is passed to say)
|
||||||
```
|
```
|
||||||
|
|
||||||
````smart header="Convenience method: `bindAll`"
|
````smart header="Convenience method: `bindAll`"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue