Merge pull request #2751 from mahdiHashemi14/master

Add missing "!"
This commit is contained in:
Ilya Kantor 2021-10-25 22:24:58 +03:00 committed by GitHub
commit 20da2405bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,8 +187,8 @@ let user = {
let say = user.say.bind(user);
say("Hello"); // Hello, John ("Hello" argument is passed to say)
say("Bye"); // Bye, John ("Bye" is passed to say)
say("Hello"); // Hello, John! ("Hello" argument is passed to say)
say("Bye"); // Bye, John! ("Bye" is passed to say)
```
````smart header="Convenience method: `bindAll`"