tableau associatif ajouter une nouvelle clé et une valeur 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.
Dreamy bird