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