code: function _zipmap(keys, vals) {
    var shorter = keys.length > vals.length ? vals : keys;
  
    return shorter.reduce(function(map, val, idx) {
      map[keys[idx]] = vals[idx];
      return map;
    }, {});
  
  }
docs: Original zipmap