Updated examples

Removed duplicate and unnecessary examples.
This commit is contained in:
Angelos Chalaris
2018-01-04 14:22:56 +02:00
parent 1afd4a18ab
commit 00b3da7504
45 changed files with 52 additions and 104 deletions

View File

@ -2,7 +2,7 @@
Returns `true` if the specified value is `null`, `false` otherwise.
Use the strict equality operator to check if the value and of `val` are equal to `null`.
Use the strict equality operator to check if the value and of `val` are equal to `null`.
```js
const isNull = val => val === null;
@ -10,5 +10,4 @@ const isNull = val => val === null;
```js
isNull(null); // true
isNull('null'); // false
```