Results 1 - 2 of 2

Iteration protocols

One addition of ECMAScript 2015 (ES6) is not new syntax or a new built-in, but a protocol. This protocol can be implemented by any object respecting some conventions.
ECMAScript6 Intermediate Iterable Iterator JavaScript

yield*

The yield* expression is used to delegate to another generator or iterable object.
ECMAScript6 Generators Iterable Iterator JavaScript operator Operator Reference