A for...of
loop is used to
iterate over the values of an iterable,
like an array.
In the example given below,
we print all the values of an array
using a for...of
loop.
In the example given above,
we are iterating over
the values of the names
array.
During each iteration,
the value currently being accessed
is stored in the name
variable.