Compute the median of a set of numbers.
An array of numeric inputs
The median of the dataset
const y = SMath.median([2, 5, 3, 1]); // 2.5 Copy
const y = SMath.median([2, 5, 3, 1]); // 2.5
Compute the median of a set of numbers.