We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1728f97 commit d25d29cCopy full SHA for d25d29c
1-js/02-first-steps/16-javascript-specials/article.md
@@ -102,7 +102,7 @@ More in: <info:variables> and <info:types>.
102
103
We're using a browser as a working environment, so basic UI functions will be:
104
105
-[`prompt(question[, default])`](mdn:api/Window/prompt)
+[`prompt(question, [default])`](mdn:api/Window/prompt)
106
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel".
107
108
[`confirm(question)`](mdn:api/Window/confirm)
0 commit comments