Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript push dictionary into array

var dict = []; // create an empty array

dict.push({
    key:   "keyName",
    value: "the value"
});
 
PREVIOUS NEXT
Tagged: #javascript #push #dictionary #array
ADD COMMENT
Topic
Name
2+8 =