docs: function map(obj, callback) {
    var result = {};
    for (var key in obj) {
      if (Object.prototype.hasOwnProperty.call(obj, key)) {
        if (typeof callback === 'function') {
          result[key] = callback.call(obj, obj[key], key, obj);
        }
      }
    }
    return result;
  }