Skip to content

Commit d16fb05

Browse files
authored
Merge pull request #407 from snakecase/patch-3
Add a hint for empty input and pressing ESC during prompts
2 parents a5bd731 + a5e649d commit d16fb05

File tree

1 file changed

+2
-0
lines changed
  • 1-js/02-first-steps/10-ifelse/4-check-login

1 file changed

+2
-0
lines changed

1-js/02-first-steps/10-ifelse/4-check-login/task.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ The schema:
2020

2121
Please use nested `if` blocks. Mind the overall readability of the code.
2222

23+
Hint: passing an empty input to a prompt returns an empty string `''`. Pressing `key:ESC` during a prompt returns `null`.
24+
2325
[demo]

0 commit comments

Comments
 (0)