associative array javascript push key value code example
Example: associative array add new key and value js
params = {};
params['someWord'] = someVal;
var params = {someWord: "someVal", two: "2"};
//There is no "associative array" in JavaScript, but Objects are commonly used as a substitute and provide similar functionality.