commit
140c75d299
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