This quite short book might add to your process of learning Javascript; give it a try: http://www.javascriptenlightenment.com/J...
String myCountry = "United Kingdom";
console.log(myCountry.length());
console.log(myCountry.substring(0,3));
So I was using this great website called codecademy to learn java but I got stuck at a question. Can anyone help:
// 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( );
// Use console.log to print out the first three letters of myCountry.
console.log( );