Update article.md
This commit is contained in:
parent
e074a5f825
commit
1e0b2bf4fe
1 changed files with 1 additions and 1 deletions
|
@ -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 `=`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue