Skip to content

Commit 1b078d0

Browse files
authored
Merge pull request #3245 from joaquinelio/patch-19
typo *udefined
2 parents fe3d781 + 0c8e883 commit 1b078d0

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/12-nullish-coalescing-operator

1 file changed

+1
-1
lines changed

1-js/02-first-steps/12-nullish-coalescing-operator/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Here's the example with `user` assigned to a name:
3737
```js run
3838
let user = "John";
3939

40-
alert(user ?? "Anonymous"); // John (user is not null/udefined)
40+
alert(user ?? "Anonymous"); // John (user is not null/undefined)
4141
```
4242
4343
We can also use a sequence of `??` to select the first value from a list that isn't `null/undefined`.

0 commit comments

Comments
 (0)