Update article.md
This commit is contained in:
parent
1728f97425
commit
d25d29cd0f
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ More in: <info:variables> and <info:types>.
|
||||||
|
|
||||||
We're using a browser as a working environment, so basic UI functions will be:
|
We're using a browser as a working environment, so basic UI functions will be:
|
||||||
|
|
||||||
[`prompt(question[, default])`](mdn:api/Window/prompt)
|
[`prompt(question, [default])`](mdn:api/Window/prompt)
|
||||||
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel".
|
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel".
|
||||||
|
|
||||||
[`confirm(question)`](mdn:api/Window/confirm)
|
[`confirm(question)`](mdn:api/Window/confirm)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue