variable as dictionary key javascript code example
Example: how to make a dictionary javascript
var test_dictionary = {
"This is a key" : "This is the value of this key",
"You can make many keys" : {
// You can even nest dictionaries in one another
"Integer" : 123,
"String" : "Hello, world!",
"Boolean" : true,
"Array" : [1,2,3,4,5]
}
}