Package Exports
- difference
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (difference) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
difference
Calculate the difference of two arrays
npm install difference
simple api
difference = require('difference');
difference(arrA, arrB);
// Important notes.
[1] is the same as ['1'] for now. This was meant to be the simplest and fastest way of calculating difference between two arrays.
difference([1,2,'3'],[3,4,5])
//output = [1,2,4,5];