let str = "level";for (let c of str) { console.log(c);}//Iterating with indexfor (let i = 0; i < str.length; i++) { console.log(`str[${i}] = ${str[i]};`);}