25. it keeps saying unexpected token var


#1

I keep putting in console.log ( var "Mycountry" === 9 ) and it keeps saying unexpected token var, I don't get what they're asking I did everything it told me too someone plz help me.


Question 25
#2

You cannot declare variables in the console.log() method.

What they want you to do is three different things:

// Declare a variable on line 3 called
// myCountry and give it a string value.

// Use console.log to print out the length of the variable myCountry.

// Use console.log to print out the first three letters of myCountry.

So you should have three different lines of code you have to enter.
First declare a variable
Then console.log the output as asked


#3

@conolyb1,

is not complete....is it ??