Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] The Most Numbers by Moff
function mostNumbers(numbers) {
if (!arguments.length)
return 0;
let max = arguments[0], min = arguments[0];
for (let i in arguments) {
if (arguments[i] > max)
max = arguments[i];
if (arguments[i] < min)
min = arguments[i];
}
return max - min;
}
July 6, 2017