JS

Arrays in JavaScript - Difference between arrays a...

25.

What is the difference between arrays and objects in terms of iteration methods?

Arrays have built-in iteration methods like forEach and map, while objects do not.

Objects have built-in iteration methods like forEach and map, while arrays do not.

Both arrays and objects have built-in iteration methods like forEach and map.

Neither arrays nor objects have built-in iteration methods like forEach and map.