just-compact
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "just-compact", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "returns a copy of an array with falsey values removed", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
@@ -22,2 +23,2 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} | ||
} |
@@ -14,3 +14,3 @@ ## just-compact | ||
compact([]); // [] | ||
compact({}); // undefined | ||
compact({}); // throws | ||
``` |
3352
6
42