range - nodef/extra-math GitHub Wiki
Find the smallest and largest values.
Similar: mean, median, modes, variance, range.
function range(...xs)
// xs: a list of numbers
const xmath = require('extra-math');
xmath.range(1, 7);
// → 6
xmath.range(1, 7, 6);
// → 6
xmath.range(1, 7, 8, 6);
// → 7
References