Loops is the terms for the process of implementing an iterator i.e. something that is repetitively done.
Arrays is simply put ,a collection of similar objects. It is used for maintaining lists of things.
SYNTAX: student_names = [ 'Rob', 'Van', 'Dam']
studentNames.forEach((student) => {
print(student)
}