Whats wrong with this?


#1

Whats wrong with this?

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

// Use console.log to print out the length of the variable myCountry.
console.log(myCountry.substring(0,11) );

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


What did I do incorrectly?
#2

@webpro34633

change this to console.log(myCountry.length);