Ensure _.xor works with more than two arrays. [closes #2758]

This commit is contained in:
John-David Dalton
2016-10-26 01:37:00 -07:00
parent 73e2562cd1
commit 729d1a57aa
2 changed files with 16 additions and 9 deletions

View File

@@ -25264,7 +25264,7 @@
assert.expect(2);
var actual = func([1, 1, 2, 5], [2, 2, 3, 5], [3, 4, 5, 5]);
assert.deepEqual(actual, [1, 4, 5]);
assert.deepEqual(actual, [1, 4]);
actual = func([1, 1]);
assert.deepEqual(actual, [1]);