minor
This commit is contained in:
parent
db32cd032c
commit
7f1d5de09e
2 changed files with 3 additions and 5 deletions
|
@ -2,7 +2,7 @@ importance: 5
|
|||
|
||||
---
|
||||
|
||||
# Ask losing this
|
||||
# Fix a function that loses "this"
|
||||
|
||||
The call to `askPassword()` in the code below should check the password and then call `user.loginOk/loginFail` depending on the answer.
|
||||
|
||||
|
@ -34,5 +34,3 @@ let user = {
|
|||
askPassword(user.loginOk, user.loginFail);
|
||||
*/!*
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue