the paramter of obj.att always be used in js code,we always define certain attribute of an Object of js in this way,but what happened when this paramter anaylised in the engine of brower?
I've no idea of the sourcecode of the brower engine,but I guess the porgress as follows:
obj.att="XXXX"
obj=[];
obj['att']="XXXX"
the engine build an Array named obj,same name as the Object of obj,then push the attribute of att into this Array as String of 'att',give the value "XXXX" to obj['att'],obj became a pointer at this place
so obj['att']==obj.att is true.