function range(start, count, inc = 1) {
    return defer(function* () {
        for (let i = 0; i < count; ++i) {
            yield start + (i * inc);
        }
    });
}
function range(start, count, inc = 1) {
    return defer(function* () {
        for (let i = 0; i < count; ++i) {
            yield start + (i * inc);
        }
    });
}
function range ( start , count , inc = 1 ) { return defer ( function * ( ) { for ( let i = 0 ; i < count ; ++ i ) { yield start + ( i * inc ) ; } } ) ; }
Yields count numbers from start onwards
e.g range(10, 3) will yield [10, 11, 12]
Yields count numbers from start onwards e . g range ( 10 3 ) will yield [ 10 11 12 ]