Skip to content

Commit 4c70900

Browse files
authored
Merge pull request #111 from cpxPratik/patch-3
Update article.md
2 parents 885d717 + 42fb552 commit 4c70900

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/09-alert-prompt-confirm

1 file changed

+1
-1
lines changed

1-js/02-first-steps/09-alert-prompt-confirm/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ We covered 3 browser-specific functions to interact with the visitor:
9696
: shows a message.
9797
9898
`prompt`
99-
: shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers except Safari return `null`.
99+
: shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers return `null`.
100100
101101
`confirm`
102102
: shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`.

0 commit comments

Comments
 (0)