{"ScriptPreparationCode":"var a = new Set();\r\nfor (var i = 0; i \u003C 100000; i\u002B\u002B) {\r\n a.add(i);\r\n}\r\n\r\nvar b = new Set();\r\nfor (var i = 0; i \u003C 200000; i\u002B= 2) {\r\n b.add(i);\r\n}","TestCases":[{"Name":"forEach","Code":"const union = new Set(a);\r\nb.forEach(val =\u003E union.add(val));","IsDeferred":false},{"Name":"for of","Code":"const union = new Set(a);\r\nfor(const val of b) {\r\n union.add(val);\r\n}","IsDeferred":false},{"Name":"forEach - no copy","Code":"b.forEach(val =\u003E a.add(val));","IsDeferred":false},{"Name":"forOf - no copy","Code":"for(const val of b) {\r\n a.add(val);\r\n}","IsDeferred":false}]}