Skip to content

Commit 6f08958

Browse files
authored
minor fix to function name written in explanation
The code uses the function named 'askPassword' but the text above it explaining the error reason says 'ask' instead of 'askPassword'
1 parent b258d7d commit 6f08958

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/10-bind/5-question-use-bind

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/10-bind/5-question-use-bind/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The error occurs because `ask` gets functions `loginOk/loginFail` without the object.
2+
The error occurs because `askPassword` gets functions `loginOk/loginFail` without the object.
33

44
When it calls them, they naturally assume `this=undefined`.
55

0 commit comments

Comments
 (0)