More Variable Practice


#1

console.log("myCountry".substring(0,9));

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


#2

you want to get the sub-string of the myCountry variable, so don't use quotation marks ("), myCountry is a variable.