Answers for "associative array add new key and value js"

0

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.
Posted by: Guest on April-20-2021

Code answers related to "associative array add new key and value js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language