docs: function groupByKey (arr, grouper) {
    var groups = {}
  
    arr.forEach(function (obj) {
      var key = grouper(obj)
      if (key in groups) groups[key].push(obj)
      else groups[key] = [obj]
    })
  
    return groups
  }