Fix typos

This commit is contained in:
Chalarangelo
2022-07-16 17:25:37 +03:00
parent 3b17249cb7
commit c767b29588
8 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ data.showNotifications?.();
In the same spirit, the [nullish coalescing operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator) (`??`) is a logical operator that allows us to check for nullish (`null` or `undefined`) values, returning the right-hand side operand when the value is non-nullish, otherwise returning the left-hand side operand.
Apart from cleaner code, this operator might spare us some headaches related to falsey values:
Apart from cleaner code, this operator might spare us some headaches related to falsy values:
```js
const config = getServerConfig();