🧠 Itération de tableau en JavaScript

La méthode facile (et agréable) pour parcourir les tableaux sans perdre la tête Apprendre JavaScript, c’est un peu comme apprendre à cuisiner 🍳Au début, tu sais ce qu’est un ingrédient (un tableau),mais tu te demandes : « Ok… j’ai un tableau.Comment je fais pour utiliser chaque élément correctement ? » Bonne nouvelle 🎉JavaScript adore les […]

Continue Reading

for…of Loop in JavaScript

Easy, Effective, and the Kind of Iteration That Makes You Say “Why Didn’t I Use This Earlier?” 🔁✨ At some point in JavaScript, you reach that moment…You’re writing code, everything’s going fine.Then someone says: “Loop through the items in this array one by one.” And you instinctively do this: Then, quietly, inside your head: “Isn’t […]

Continue Reading

🔁 JavaScript Iterables

Nesnelerin Üzerinde Yineleme Yapmak (“JavaScript’te ben bunun üstünden nasıl geçerim ya?” diyenler buraya) 🧠 Önce Kafayı Rahatlatalım: “Yineleme” Ne Demek? “Yineleme” dediğimiz şey aslında çok basit: 👉 Bir şeyin içindeki elemanlara sırayla ulaşmak Gerçek hayatta bunu zaten yapıyoruz: JavaScript’te de bazı yapılar diyor ki: “Beni sırayla gezebilirsin kral 😎” İşte bu yapılara Iterable diyoruz. 🤓 […]

Continue Reading

JavaScript’te for…of Döngüsü

Kolay, Etkili ve “Ben Bunu Niye Daha Önce Kullanmadım?” Dedirten İterasyon 🔁✨ JavaScript’te bir noktaya gelirsin…Kod yazıyorsundur, her şey yolunda gider.Sonra biri sana şunu der: “Şu dizinin içindekileri tek tek dolaş.” Ve sen refleks olarak şunu yaparsın: Sonra da içinden şunu geçirirsin: “Bu çok mu uzun oldu ya?” 😐 İşte for…of, JavaScript’in sana attığı şu […]

Continue Reading