Method that makes this iterator iterable.
Calling it resets the iteration state.
Destroys the iterator, and makes it unusable. This helps to eliminate the closure.
True if it was destroyed in this call, false if it had already been destroyed.
The function that created this iterator.
Advances in the iteration, changing its state.
ReadonlyobjectThe object received to iterate it.
Peeks an iteration state.
The entry will be:
null if the zero-based index is out of the valid and known range.undefined if the iterator cannot provide peeking functionality.Optionaldifference: numberInteger indicating the target from the current index. By default is +1.
Resets the iteration state.
If reseted, only the iternal data (closure) will change.
True if reseted, otherwise false.
ReadonlysizeNumber of items detected in the object.
It is undefined if there was no known way to obtain it.
Entries iterable iterator.
The deep-trails factory functions create closures to store the iteration state. Therefore, they do not depend on
this.Since
3.0.0-beta.0