9.3.2. Iterating Over Arrays
/*The following example prints each of the programming languages in the
array languages on a separate line.*/
let languages = ["JS", "Java", "C#", "Python"];
for (let i = 0; i < languages.length; i++) {
console.log(languages[i]);
}
/*
JS
Java
C#
Python
*/