JavaScript -Mindestnummer in Array
const min = arr => Math.min(...arr);
Batman
const min = arr => Math.min(...arr);
function minMax(arr) {
return [Math.min(...arr), Math.max(...arr)];
}