Returns a new object with the given keys removed from obj.
obj
Own enumerable properties are copied. Inherited properties are not.
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 }
Returns a new object with the given keys removed from
obj.Own enumerable properties are copied. Inherited properties are not.