My confusion was why it did not even mention using .length in this lesson
Are you sure that you are looking at the same exercise that we are?
// Use console.log to print out the length of the variable myCountry. console.log( );
It's fine since I figured it out but I came to the forum to see if anyone else had trouble with this exercise and sure enough...just felt like this one was kind of confusing all the previous lessons were quite easy.
think I was typing console.log(myCountry.substring(0,3) ); instead of .length
An object has one or more properties, separated by a comma_,
A property has a property-key and it's associated VALUE
The **VALUE** can be anything from: •Number •String •Boolean •Symbol •Object ◦Function ◦Array ◦Date ◦RegExp ◦Math •Null •Undefined
For every of the Data-types you can find a set of predefined-functions also called Methods
Every Data-type has its so-called prototype, and is there that the Methods can be found
== try with google search ==
As you are programming
you are trying to create a copy of the reality
using DATA to create INFORMATION
You will use Statement's
and use conditions in the FLOW-CONTROL
using expressions and operators
As guidance to a coding-convention use Crockfords...
So in short
== the Book ==
== discussions / opinions ==