Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "wodge", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "a wodge of functional dough", | ||
@@ -5,0 +5,0 @@ "main": "wodge.js", |
@@ -36,2 +36,4 @@ "use strict"; | ||
return []; | ||
} else if (!Array.isArray(arr) && typeof arr === "object" && arr.length >= 0 && arr.length === Math.floor(arr.length)){ | ||
return Array.prototype.slice.call(arr); | ||
} else { | ||
@@ -38,0 +40,0 @@ return Array.isArray(arr) ? arr : [ arr ]; |
3140
84