prototype.Symbol.iterator source

_.prototype.Symbol.iterator()

Enables the wrapper to be iterable.

Returns (Object)

Returns the wrapper object.

Example

var wrapped = _([1, 2]);

wrapped[Symbol.iterator]() === wrapped;
// => true

Array.from(wrapped);
// => [1, 2]