Typo in Ch 15 Functions
This commit is contained in:
parent
6f14c398ef
commit
9847492838
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ function showMessage(text) {
|
||||||
showMessage(); // empty message
|
showMessage(); // empty message
|
||||||
```
|
```
|
||||||
|
|
||||||
...Or we could use the `??` operator:
|
...Or we could use the `||` operator:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function showMessage(text) {
|
function showMessage(text) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue