Example 1 — Official Reverse
Reverse a wrapped array and unwrap.
var array = [1, 2, 3];
_(array).reverse().value();
// → [3, 2, 1] How It Works
- Wrap.
_(array)creates a Seq wrapper. - Reverse. Queues / runs reverse on the wrapped array.
- Unwrap.
.value()returns[3, 2, 1]. - Docs. Matches the official Lodash example.

