Loops- repeating code

What is the missing keyword ?

I’m stump since I thought the lyric is “I want to hold your hand”

var lyric = “I want to hold you h”;

(var i = 0; i < 6; i++) {

lyric += “a”;

}

lyric += “nd”;

console.log(lyric);

You’re missing the important piece here. for keyword.

var lyric = “I want to hold you h”;
for (var i = 0; i < 6; i++) {
    lyric += “a”;
}
lyric += “nd”;
console.log(lyric);
1 Like

Hi,

Not only for is missing as @piedcipher said but I think the double quotes also seem not to be OK. Try to copy those quotes “” and paste them or try others!

I hope it works!

1 Like