Update descriptions of some older type snippets
This commit is contained in:
@ -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
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user