Code: Select all
var myVars = {"string1": "John Doe", "string2": 101}
Code: Select all
myVars.string1
...or...
myVars["string1"]
Code: Select all
var myVars = {"string1": "John Doe", "string2": 101}
Code: Select all
myVars.string1
...or...
myVars["string1"]