From 1e0b2bf4fe89b7cc49560f25cea5024e5aa3521f Mon Sep 17 00:00:00 2001 From: LeviDing Date: Thu, 17 Sep 2020 21:07:02 +0800 Subject: [PATCH] Update article.md --- 1-js/02-first-steps/15-function-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/15-function-basics/article.md b/1-js/02-first-steps/15-function-basics/article.md index b56fbc67..b12d0b9e 100644 --- a/1-js/02-first-steps/15-function-basics/article.md +++ b/1-js/02-first-steps/15-function-basics/article.md @@ -185,7 +185,7 @@ For instance, the aforementioned function `showMessage(from, text)` can be calle showMessage("Ann"); ``` -That's not an error. Such a call would output `"Ann: undefined"`. There's no `text`, so it's assumed that `text === undefined`. +That's not an error. Such a call would output `"*Ann*: undefined"`. There's no `text`, so it's assumed that `text === undefined`. If we want to use a "default" `text` in this case, then we can specify it after `=`: