javascript assoc array syntax

 

 

 

 

The obvious benefits of using an array syntax to access an object is because of the literal data type, you can easily concat strings and play around with them to access an object.You need to use a for/in loop.