Test whether the given Iterable has the same contents as this iterator.
Note that this will consume this iterator up to the point where the values diverge. You should not rely on any particular state of the iterator afterwards, but consider it spent.
Iterate until calling mapFn on an item returns a value, then return
that value. Return undefined if mapFn never returns a value.
As IteratorObject#partition, but if the input length isn't
divisible by size, ensure the first array is the shortest one
rather than the last.
Be warned that this requires the entire input iterable to be read up front to decide its length, so this function is not lazy.
Filter out any items which are null or undefined.
Split the input up into arrays of at most size items.
Filter out any items which are undefined.
Ignore all items matching predicate until the first item that
doesn't match.
Take items from the iterator only until the first time predicate returns false.
Describes an Iterator produced by the runtime that inherits from the intrinsic
Iterator.prototype.