{"ScriptPreparationCode":null,"TestCases":[{"Name":"Immutable.Set union","Code":"const set1_Immutable = new Immutable.Set(Array.from(Array(100).keys()));\r\nconst set2_Immutable = new Immutable.Set(Array.from(Array(20).keys()));\r\n\r\nconst result = set1_Immutable.union(set2_Immutable)","IsDeferred":false},{"Name":"Convert JS Set to array, construct new Set","Code":"const set1_JS = new Set(Array.from(Array(100).keys()));\r\nconst set2_JS = new Set(Array.from(Array(20).keys()));\r\n\r\nconst result = new Set([...set1_JS, ...set2_JS])","IsDeferred":false},{"Name":"Array.from, construct new Set","Code":"const set1_JS = new Set(Array.from(Array(100).keys()));\r\nconst set2_JS = new Set(Array.from(Array(20).keys()));\r\n\r\nconst result = new Set(Array.from(set1_JS).concat(Array.from(set2_JS)))","IsDeferred":false}]}