Added the underscore node_module.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s
This commit is contained in:
11
node_modules/underscore/cjs/union.js
generated
vendored
Normal file
11
node_modules/underscore/cjs/union.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
var restArguments = require('./restArguments.js');
|
||||
var uniq = require('./uniq.js');
|
||||
var _flatten = require('./_flatten.js');
|
||||
|
||||
// Produce an array that contains the union: each distinct element from all of
|
||||
// the passed-in arrays.
|
||||
var union = restArguments(function(arrays) {
|
||||
return uniq(_flatten(arrays, true, true));
|
||||
});
|
||||
|
||||
module.exports = union;
|
Reference in New Issue
Block a user