From d25d29cd0f8d3b40cf03879253415f5a6676d3fb Mon Sep 17 00:00:00 2001 From: Atul Soman Date: Tue, 9 Apr 2019 16:38:35 +0530 Subject: [PATCH] Update article.md --- 1-js/02-first-steps/16-javascript-specials/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/16-javascript-specials/article.md b/1-js/02-first-steps/16-javascript-specials/article.md index b421c4cb..e266861c 100644 --- a/1-js/02-first-steps/16-javascript-specials/article.md +++ b/1-js/02-first-steps/16-javascript-specials/article.md @@ -102,7 +102,7 @@ More in: and . 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)