remove Map and Set as the tests are wrong

This commit is contained in:
Robert Mennell
2019-04-13 00:27:28 -07:00
committed by GitHub
parent 96d61565ea
commit 8629d97eb5

View File

@ -9,8 +9,6 @@ const isEmpty = val => val == null || !(Object.keys(val) || val).length;
``` ```
```js ```js
isEmpty(new Map()); // true
isEmpty(new Set()); // true
isEmpty([]); // true isEmpty([]); // true
isEmpty({}); // true isEmpty({}); // true
isEmpty(''); // true isEmpty(''); // true