Skip to content

Commit cc3c01b

Browse files
authored
Update task.md
Grammar
1 parent 30e3fa7 commit cc3c01b

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

+1-1
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)