• Calculates the mode of an array

    Parameters

    • input: NumberArray

      Array containing values

    Returns number

    • mode