Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "wodge", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "a wodge of functional dough", | ||
@@ -5,0 +5,0 @@ "main": "wodge.js", |
@@ -20,2 +20,11 @@ "use strict"; | ||
exports.omit = function(obj, toOmit){ | ||
toOmit = exports.arrayify(toOmit); | ||
var output = exports.clone(obj); | ||
for (var prop in toOmit){ | ||
delete output[prop]; | ||
} | ||
return output; | ||
}; | ||
exports.escapeRegExp = function(string){ | ||
@@ -22,0 +31,0 @@ return string |
4107
121