Iterate over array / object

Hi there,
anyone knows an easier explanation of what ITERATE OVER ARRAY / OBJECT means?
Thanks

Repeat an operation with every element of an array / every property of an object.

1 Like

Or to put it in concrete terms, suppose we represent a line of students as an array. To “iterate over the array” would mean to go through each student and do something. For example, we could “iterate over the student array and print out their names” which would mean we print out the name of each student.

1 Like