jPaq Docs - Array.prototype.subtract()

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 but not another one.

Parameters

  1. arrOther => Array
    The array whose elements will not be found in the returned array.

Returns

Array
Returns a new array which contains all of the elements that are in this array but not in arrOther.