9.3.1. Iterating Over Collections//Strings
/*The following example prints each of the characters of the string
"LaunchCode" on a separate line.*/
let name = "LaunchCode";
for (let i = 0; i < name.length; i++) {
console.log(name[i]);
}
/*
L
a
u
n
c
h
C
o
d
e
*/