Untitled

 avatar
unknown
plain_text
10 months ago
193 B
16
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 metodu
Editor is loading...
Leave a Comment