docs: function mapObject(fn, object) {
    const keys = Object.keys(object);
  
    let newObject = {},
        index = -1,
        key;
  
    while (++index < keys.length) {
      key = keys[index];
  
      newObject[key] = fn(object[key], key, object);
    }
  
    return newObject;
  }