jPaq Docs - Array.prototype.union()

Quick Stats

Target Platforms:  PC (JScript) and the web (JavaScript)
Download Count:  833

Summary

Gets a new array which contains all of the elements that are in this array and the other one. Any elements found in the other array that are already in this one will not be added to this array.

Parameters

  1. arrOther => Array
    The array that will be unioned with this array.

Returns

Array
Returns a new array with all elements that are in this array and the other one (not including duplicates).