This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Toooons
about 9 years

Help pleeeez 24/28

I input var myage=21; it asks did I declare a variable? I tried just about everything I could think of the console log displays 21 what do I need to do to declare a variable??? thank you…I’m going crazy

Answer 54e1344795e3787dec007878

1 vote

Permalink

The correct answer is:

var myAge = 21; console.log(myAge);

points
Submitted by dev chakraborty
about 9 years

Answer 54e19dda9113cb67a7001041

0 votes

Permalink

Javascript is case sensitive. myage is completely different to myAge

points
Submitted by Neil
about 9 years