Creates an object without the specified keys.
The source object.
The keys to omit.
A new object without the specified keys.
omit({ a: 1, b: 2, c: 3 }, ['b']); // { a: 1, c: 3 } Copy
omit({ a: 1, b: 2, c: 3 }, ['b']); // { a: 1, c: 3 }
Creates an object without the specified keys.