For all positive data sets containing at least one pair of unequal values, the harmonic mean is always the least of the three means, while the arithmetical mean is always the greatest of the three and the geometric mean is always in between (see inequality of arithmetical and geometric means.)In mathematics, the geometric mean is a average or average, which indicates the central tendency or typical value of a set of numbers by use the merchandise of their values (as opposed to the arithmetical mean which uses their sum).

COMING SOON!

```
/*
author: PatOnTheBack
license: GPL-3.0 or later
Modified from:
https://github.com/TheAlgorithms/Python/blob/master/maths/average.py
This script will find the average (mean) of an array of numbers.
More about mean:
https://en.wikipedia.org/wiki/Mean
*/
function mean (nums) {
'use strict'
var sum = 0
var avg
// This loop sums all values in the 'nums' array.
nums.forEach(function (current) {
sum += current
})
// Divide sum by the length of the 'nums' array.
avg = sum / nums.length
return avg
}
// Run `mean` Function to find average of a list of numbers.
console.log(mean([2, 4, 6, 8, 20, 50, 70]))
```