> For the complete documentation index, see [llms.txt](https://lodash.shujuwajue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lodash.shujuwajue.com/seq/prototypeplant.md).

# \_.prototype.plant

**语法：**

```javascript
_.prototype.plant(value)
```

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

**描述：**

创建一个链式队列的拷贝，传入的`value`作为链式队列的值。

**开始版本：**&#x33;.2.0

**参数：**

* `value (*)`: 替换原值的值。

**返回值：**

* `(Object)`: 返回 lodash 的包装实例。

**例子：**

```javascript
function square(n) {
  return n * n;
}

var wrapped = _([1, 2]).map(square);
var other = wrapped.plant([3, 4]);

other.value();
// => [9, 16]

wrapped.value();
// => [1, 4]
```
