I think that the dot operator can be apply to object only for access to his properties. I.e. for instance
var o={prop:'property'};
alert(o.prop);//property
When JS executing alert(o.prop); first object which contains by reference o will found further will be found property wich contains by reference o.prop.
Let's write
simple='hello';
alert(simple.length);//5
I dont understand this. I'm excepted that in console will kind of error, because simple is no object.
simpleis astringobject. Everything in JavaScript is an object