dist/iterable/generators.js
/** Yields an infinite sequence of numbers starting at 0 */
Yields an infinite sequence of numbers starting at 0
Yields an infinite sequence of numbers starting at 0
function infinite(startIndex = 0) {
    return defer(function* () {
        for (let i = startIndex;; ++i) {
            yield i;
        }
    });
}
function infinite ( startIndex = 0 ) { return defer ( function * ( ) { for ( let i = startIndex ; ; ++ i ) { yield i ; } } ) ; }
Yields an infinite sequence of numbers starting at 0
Yields an infinite sequence of numbers starting at 0