Creates a new object with specified keys omitted.
创建一个新对象,省略指定的键。
The source object. 源对象
The keys to omit. 要省略的键
A new object with the specified keys omitted. 省略了指定键的新对象
omit({ a: 1, b: 2 }, ['a']) // => { b: 2 } Copy
omit({ a: 1, b: 2 }, ['a']) // => { b: 2 }
Creates a new object with specified keys omitted.
创建一个新对象,省略指定的键。