- array destructuring with... in order to use Math.min() and Math.max() (because they only works on numbers and not on an array)
 - reduce in order to calculate a sum of elements necessary to an average
 - Math.abs() to get only absolute numbers (positive)
 - ternary operator to compare two values
 
Vanilla Javascript