map = (obj, f) => {
  const results = [];

  for (const key in obj) {
    results.push(f(obj[key], key));
  }

  return results;
}
@template R
@param {Object<string,any>} obj
@param {function(any,string):R} f
@return {Array<R>}