JavaScript Menghapus nomor terkecil di array
function removeSmallest(arr) {
var min = Math.min(...arr);
return arr.filter(e => e != min);
}
Yawning Yak
function removeSmallest(arr) {
var min = Math.min(...arr);
return arr.filter(e => e != min);
}