• Generates sequence of numbers from a to b

    Parameters

    • a: number

      Start number (inclusive)

    • b: number

      End number (exclusive)

    • step: number = 1

      Increment between numbers

    Returns Generator<number, void, unknown>

    Numbers in sequence