0
Loops in ECMAScript 6
Fill in the blanks to iterate through all the characters using the for...of loop. ______(let ch _______ "SoloLearn") { console.log(ch); } can anyone help me to solve this question?
1 Answer
0
"SoloLearn".split('').forEach(function(ch) {
document.write(ch, "<br>");
console.log(ch);
});