Const
Asserts that the symmetric difference between two Sets equals a third Set.
expect( new Set([1, 2]), 'to have symmetric difference', new Set([2, 3]), 'equal to', new Set([1, 3]),); // passes Copy
expect( new Set([1, 2]), 'to have symmetric difference', new Set([2, 3]), 'equal to', new Set([1, 3]),); // passes
set-symmetric-difference-with-set-to-equal-set
collections
Asserts that the symmetric difference between two Sets equals a third Set.