Simple variables


#1

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.


#2

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


#3

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


#4

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.