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?

12th Aug 2022, 5:22 PM
Ronit Zinzuvadiya
Ronit Zinzuvadiya - avatar
1 Réponse
0
"SoloLearn".split('').forEach(function(ch) { document.write(ch, "<br>"); console.log(ch); });
12th Aug 2022, 6:02 PM
SoloProg
SoloProg - avatar