NewDash

    Function mean

    • Computes the mean of the values in array.

      Parameters

      • array: number[]

        The array to iterate over.

      Returns number

      Returns the mean.

      5.11.0

      mean([4, 2, 8, 6])
      // => 5
    MMNEPVFCICPMFPCPTTAAATR