Having trouble resolving this challenge. I’ve read and tried every suggestion and nothing works. Any help would be greatly appreciated.
Remove the console.log
, as per the instructions.
MyVar needs to be declared with the var keyword.
If you mean pass myVar the value, then I tried that too without success. Otherwise not sure what you mean.
I believe he means you need to declare the variable before you can reference it. You can read up on the ins and outs using these links
1 Like
Ah, yes! Rookie mistake. Thanks guys!