From 8629d97eb509ba5fa80e118b43722b6c9cfec9f4 Mon Sep 17 00:00:00 2001 From: Robert Mennell Date: Sat, 13 Apr 2019 00:27:28 -0700 Subject: [PATCH] remove Map and Set as the tests are wrong --- snippets/isEmpty.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/snippets/isEmpty.md b/snippets/isEmpty.md index 00f62420d..5dcd23708 100644 --- a/snippets/isEmpty.md +++ b/snippets/isEmpty.md @@ -9,8 +9,6 @@ const isEmpty = val => val == null || !(Object.keys(val) || val).length; ``` ```js -isEmpty(new Map()); // true -isEmpty(new Set()); // true isEmpty([]); // true isEmpty({}); // true isEmpty(''); // true