Update descriptions of some older type snippets

This commit is contained in:
Angelos Chalaris
2020-03-05 23:06:26 +02:00
parent 0260fc759e
commit 69db3851ff
4 changed files with 9 additions and 8 deletions

View File

@ -5,7 +5,7 @@ tags: type,beginner
Returns `true` if the specified value is `undefined`, `false` otherwise.
Use the strict equality operator to check if the value and of `val` are equal to `undefined`.
Use the strict equality operator to check if `val` is equal to `undefined`.
```js
const isUndefined = val => val === undefined;
@ -13,4 +13,4 @@ const isUndefined = val => val === undefined;
```js
isUndefined(undefined); // true
```
```