The for...of loop is a modern and readable method for iterating over the values of
iterable objects such as arrays, strings, and Maps. Unlike for...in, which reads keys,
for...of reads the actual values, which is often more natural when working with a list of data.
It is useful when you want simple access to each element in a list without worrying about indexes. The syntax is
shorter and more readable than the classic for loop.