Write a function named compareSets
that receives 2 parameters.
setA
setB
The function should compare the 2 sets and return an Object with the following properties:
onlyA
- a Set with all elements inside setA
that are not part of setB
onlyB
- a Set with all elements inside setB
that are not part of setA
union
- a Set with all elements inside setA
and setB
setA
=setB
=