1. You know this! - bug?


#1


var list = ["cookies"; "cream"; "eggs";]

So, what is wrong here? is it a bug? the code doesn't go through.

https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/0/1?curriculum_id=506324b3a7dffd00020bf661

SyntaxError: missing ] after element list


#2

HI change the semiconlon with a comma inside the list

var list = ["cookies"; "cream"; "eggs";]

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.