Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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]
    }
}
 
PREVIOUS NEXT
Tagged: #dictionary #javascript
ADD COMMENT
Topic
Name
6+5 =