Returns an array with random elements.

  • Parameters

    • length: number

      The length of the array

    • Optionalinf: number = 0

      The lower bound (optional, defaults to 0)

    • Optionalsup: number = 1

      The upper bound (optional, defaults to 1)

    Returns number[]