this is what I have var myCountry.substring = "Missouri".length
Is that what you have written to fulfill this part of the instructions:?
// Declare a variable on line 3 called // myCountry and give it a string value.
myCountry.substring is not a variable name.
On line 3 : Your variable name is just myCountry.
line 6 : Use console.log to print out the length of the variable myCountry.
So you can evaluate the length of the variable by typing
Then on line 9 calculate the substring and print it on console using console.log
Inside the brackets above write the correct numbers to get the answer.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.