I'm a little confused with the code required to declare a variable all the instructions and examples suggest the following layout:
var myName = "leng";
var myAge = 30
But the defualt code in the exercise window reads:
// To create a variable, we use only one equals sign
// But to check if two values are equal, we use 3 equal signs.
// declare your variable here:
now should my exercise answer be:
console.log(myAge = 31);
I'm thrown and confused by the appearance of console.log?
Any thoughts cheers Andrew