function getValues(obj) {
  const res = [];
  let i = 0;
  for (const key in obj) {
    res[i++] = obj[key];
  }
  return res;
}
Returns the values of the object/map/hash.
@param {?Object<K,V>} obj The object from which to get the values.
@return {!Array<V>} The values in the object/map/hash.
@template K,V