add dictionary to a list javascript code example
Example: javascript push dictionary into array
var dict = []; // create an empty array
dict.push({
key: "keyName",
value: "the value"
});
var dict = []; // create an empty array
dict.push({
key: "keyName",
value: "the value"
});