var a = {name:"John", lastName:"Willow"};
console.log(a.name + " " + a.lastName);
console.log(a["name"] + " " + a["lastName"]);
When do I have to use a["name"] - calling method with bracket instead of a.name ?
I read some on the net and I don't understand the difference between these two calling methods.
please help!
 
     
    