Files
node/tools/eslint/node_modules/array-union
silverwind 2f6ff1bb64 tools: update ESLint to 2.7.0
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
2016-04-10 11:46:08 +02:00
..
2016-01-13 23:15:39 +01:00
2016-04-10 11:46:08 +02:00
2016-01-13 23:15:39 +01:00

array-union Build Status

Create an array of unique values, in order, from the input arrays

Install

$ npm install --save array-union

Usage

var arrayUnion = require('array-union');

arrayUnion([1, 1, 2, 3], [2, 3]);
//=> [1, 2, 3]

arrayUnion(['foo', 'foo', 'bar'], ['foo']);
//=> ['foo', 'bar']

License

MIT © Sindre Sorhus