showing results for - "accessing object properties with bracket notation"
Cristina
22 Aug 2016
1var myObj = {
2  "Space Name": "Kirk",
3  "More Space": "Spock",
4  "NoSpace": "USS Enterprise"
5};
6myObj["Space Name"]; // Kirk
7myObj['More Space']; // Spock
8myObj["NoSpace"];    // USS Enterprise