var difference = function(compare){ return Array.from(arguments).reduce(function(previous, current){ return previous.filter(function(element){ return current.indexOf(element) == -1; }); }); };
NOTE: You can also use a reusable component called array-diff:
diff([1,2,3], [1,2,3,4,5]) // => [4,5]