Simon Priet e69a613a37 feat: Created a mini nodeJS server with NewMan for testing without PostMan GUI.
This will mimic a run in a CD/CI environment or docker container.
2021-09-08 14:01:19 +02:00

12 lines
349 B
JavaScript

var _flatten = require('./_flatten.js');
var restArguments = require('./restArguments.js');
var uniq = require('./uniq.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;