• Return an array with each number in the specified range.

    Parameters

    • from: number

      The number to start from (inclusive).

    • to: number

      The number to end on (exclusive).

    Returns number[]

    The populated array.