This is part of EcmaScript 2015, documented here for completeness. It supports a single method, next(), which
returns an object with a boolean named done (true if there are no more items to return; false
otherwise), and optionally some T instance, value, if there was at least one remaining item.
This is part of EcmaScript 2015, documented here for completeness. It supports a single method, next(), which returns an object with a boolean named done (true if there are no more items to return; false otherwise), and optionally some T instance, value, if there was at least one remaining item.