Return a copy of the object omitting the blacklisted properties.
the source object
an Array of strings, which are the blacklisted property names
var foo = { a: 1, b: 2, c: 3 };var ab = omit(foo, ['a', 'b']); // { c: 3 } Copy
var foo = { a: 1, b: 2, c: 3 };var ab = omit(foo, ['a', 'b']); // { c: 3 }
Return a copy of the object omitting the blacklisted properties.