function set(obj, key, value) {
  obj[key] = value;
}
Adds a key-value pair to the object/map/hash.
@param {?Object<K,V>} obj The object to which to add the key-value pair.
@param {string} key The key to add.
@param {V} value The value to add.
@template K,V
@return {void}