Accessing JavaScript object properties indirectly

When it comes to accessing data in JavaScript objects there are two methods available dot operator . bracket notation [] Take as a example an object with the following properties: var newObj = { propertyOne: “some string”, propertyTwo: 2, “property Three” : “other string”, 4 : “Four” }; Dot Operator The dot operator is typical […]