We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 885d717 + 42fb552 commit 4c70900Copy full SHA for 4c70900
1-js/02-first-steps/09-alert-prompt-confirm/article.md
@@ -96,7 +96,7 @@ We covered 3 browser-specific functions to interact with the visitor:
96
: shows a message.
97
98
`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`.
+: 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`.
100
101
`confirm`
102
: 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