showing results for - "associative array add new key and value js"
Luca
31 Apr 2018
1params = {};
2params['someWord'] = someVal;
3
4var params = {someWord: "someVal", two: "2"};
5
6//There is no "associative array" in JavaScript, but Objects are commonly used as a substitute and provide similar functionality.