Declare JavaScript Variables

Declare JavaScript Variables


I’m sorry, but my Javascipt isn’t good and I’ve a problem in the second stage.
Where I’m wrong?

Tell us what’s happening:

Your code so far

// Example
var ourName;

// Define myName below this line
var myName = "Massimo";

Your browser information:

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

Link to the challenge:


Compare this message “You should declare myName with the var keyword, ending with a semicolon”


You’re not supposed to assign it any values yet. The variable name is immediately followed by a semicolon.


Thanks, I’ll solved!