Junior
Name the main methods of iterating over arrays and objects in JavaScript.
sobes.tech AI
Answer from AI
Для массивов:
for(обычный цикл)for...offorEachmapfilterreducesomeevery
Для объектов:
for...inObject.keys()Object.values()Object.entries()