[REPORTED] Incorrrect error message in JavaScript var lesson

I thing there is a bug.
On exercise number 2 it says : Declare a variable named numOfSlices using the var keyword and assign to it the number 8 .

I have written the following:

var favoriteFood = 'pizza';
var numOfSlices = 8; 

and there is a message:
Assign the summerStrut variable to an array. Use curly braces: { } .

Seems like a bug, i made a report. Thank you for reporting :slight_smile:

In the lesson, press the run button several times. Hopefully this will show the get solution button to get around the problem.

1 Like

Okay, its fixed. You should now be able to do this exercise :slight_smile: