JS добавить поля к карте
randomObject['hello'] = 'world';
//like
var myMap = {};
// ...
myMap[newKey] = newValue;
Defiant Dove
randomObject['hello'] = 'world';
//like
var myMap = {};
// ...
myMap[newKey] = newValue;