Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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.
- console.log("myCountry".length 9);
- // Use console.log to print out the first three letters of myCountry.
- console.log("myC");
- var myCountry = "Canada";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement