Untitled
unknown
plain_text
9 months ago
193 B
14
Indexable
function enBuyukReduce(dizi) {
return dizi.reduce((max, val) => val > max ? val : max);
}
console.log("En büyük sayi (reduce):", enBuyukReduce([12, 45, 7, 89, 23]));
// reduce metoduEditor is loading...
Leave a Comment