Skip to content

Commit ea50619

Browse files
authored
Merge pull request #1488 from hrodward/patch-14
Update task.md
2 parents 77e9317 + cc3c01b commit ea50619

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/10-bind/6-ask-partial

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/10-bind/6-ask-partial/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The task is a little more complex variant of <info:task/question-use-bind>.
88

99
The `user` object was modified. Now instead of two functions `loginOk/loginFail`, it has a single function `user.login(true/false)`.
1010

11-
What to pass `askPassword` in the code below, so that it calls `user.login(true)` as `ok` and `user.login(false)` as `fail`?
11+
What should we pass `askPassword` in the code below, so that it calls `user.login(true)` as `ok` and `user.login(false)` as `fail`?
1212

1313
```js
1414
function askPassword(ok, fail) {

0 commit comments

Comments
 (0)