Loops can execute a block of code a number of times.
Loops are handy. If you want to run the same code over and over again, you can do so with loops.
for- loops through a block of code a number of times.
for/in- loops through the properties of an object.
for/of- loops through the values of an iterable object
while- loops through a block of code while a specified condition is true.