Update article.md

This commit is contained in:
Atul Soman 2019-04-09 16:38:35 +05:30 committed by GitHub
parent 1728f97425
commit d25d29cd0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:
[`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".
[`confirm(question)`](mdn:api/Window/confirm)