Declare JavaScript Variables error

Tell us what’s happening:
I am getting this error
TypeError: Cannot read property ‘message’ of undefined
Your code so far


var myName;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36.

Challenge: Declare JavaScript Variables

Link to the challenge:

I would try clearing your cache and restarting you browser. That code should be ok so long as it is the only thing in the solution.

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