• Return an array with each number in the specified range, starting from zero.

    Parameters

    • to: number

      The number to end on (exclusive).

    Returns number[]

    The populated array.