We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0789e38 commit 1728f97Copy full SHA for 1728f97
1-js/02-first-steps/09-alert-prompt-confirm/article.md
@@ -27,7 +27,7 @@ The mini-window with the message is called a *modal window*. The word "modal" me
27
The function `prompt` accepts two arguments:
28
29
```js no-beautify
30
-result = prompt(title[, default]);
+result = prompt(title, [default]);
31
```
32
33
It shows a modal window with a text message, an input field for the visitor, and the buttons OK/CANCEL.
0 commit comments