# \_.omit

**语法：**

```javascript
_.chunk(array, [size=1])
```

**源代码链接：**[source](https://github.com/lodash/lodash/blob/4.17.10/lodash.js#L13495)

**npm包链接：**[npm package](https://www.npmjs.com/package/lodash.omit)

**描述：**

反向版[`_.pick`](https://lodash.com/docs/4.17.10#pick); 这个方法一个对象，这个对象由忽略属性之外的`object`自身和继承的可枚举属性组成。（愚人码头注：可以理解为删除`object`对象的属性）。

**开始版本：**&#x30;.1.0

**参数：**

* `object (Object)`: 来源对象。
* `[props] (...(string|string[]))`: 要被忽略的属性。 **返回值：**
* `(Object)`: 返回新对象。

**例子：**

```javascript
var object = { 'a': 1, 'b': '2', 'c': 3 };

_.omit(object, ['a', 'c']);
// => { 'b': '2' }
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lodash.shujuwajue.com/object/omit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
