diff --git a/underscore.js b/underscore.js index c75bf4f75..a9d179d50 100644 --- a/underscore.js +++ b/underscore.js @@ -403,7 +403,7 @@ // Take the difference between one array and a number of other arrays. // Only the elements present in just the first array will remain. _.difference = function(array) { - var rest = _.flatten(slice.call(arguments, 1)); + var rest = _.flatten(slice.call(arguments, 1), true); return _.filter(array, function(value){ return !_.include(rest, value); }); };