Javascript Array union(arr)

Description

Javascript Array union(arr)


Array.prototype.union = function (arr) {
  return this.concat(arr).distinct();
};



PreviousNext

Related