Learn Introductory JavaScript by Building a Pyramid Generator - Step 28

Tell us what’s happening:

Learn Javascript by building a pyramid generator.

It throws me an error saying there is a missing semicolon, I also tried to put the semicolon inbetween the strings but it throws me another error saying there could be an infite loop

Your code so far


// User Editable Region

for ('iterator' ,'condition' ,'iteration') {
  
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 28

You indeed are missing semicolons. You used , instead of ;

Thanks , I was just scared to use that cuz it said there could be an infinite loop if i ran the test, but it worked