Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 2
foreach
Works not only with arrays. It works with all iterables, like ArrayObjects and generators.
1 Antwort
0
for...in in javascript also works for arrays not only objects