Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. // Declare a variable on line 3 called
  2. // myCountry and give it a string value.
  3.  
  4.  
  5. // Use console.log to print out the length of the variable myCountry.
  6. console.log("myCountry".length 9);
  7.  
  8. // Use console.log to print out the first three letters of myCountry.
  9. console.log("myC");
  10.  
  11. var myCountry = "Canada";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement