Simple variables


Im completely baffled by this constant 'Syntax error' message when im trying to put in these values.

On line 5 I have typed my variable in: var myAge = 41; then underneath ive to print it out so I've typed

console.log (var myAge === 41;) but it's not havin it.

Please help as im stuck, cheers.


Got it! panic over.....carry on lol


What was it? I'm still stuck...


Nevermind, I got it! For anyone else looking for the answer: typing var myAge = //your age// in line 5 makes line 6 true therefore it displays on the console.