The IterableValue object is designed for use in JavaScript loops to streamline iteration processes. It provides access to the current value of the iterable and indicates whether the iteration is complete.
IterableValue
Boolean
done
This returns a boolean if this was the last value (true) or not.
Object
value
This is used in Iterators (for of loops) This returns the value of the current Iterable
Type Boolean
Type Object
Last updated 1 year ago
Was this helpful?