docs: function intersection(array1, array2) {
        var result = [];
        forEach(array1, function(element) {
          if (indexOf(array2, element) >= 0) {
            result.push(element);
          }
        });
  
        return result;
      }