Pls Help


// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry = "Egypt";

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

// Use console.log to print out the first three letters of myCountry.
console.log("myCountry".substring(0,3) );

and it still tells me that it's wrong with the myCountry length ?

Oops, try again. It looks like you didn't log the length of myCountry to the console.


You should get rid of " " in "myCountry" - otherwise it is not seen as a function name but a normal string.


thank you very very much :smiley: