{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.prototype.concat and Set","Code":"var first = [ \u0022hello\u0022, true, 7 ]\r\nvar second = [1,2,3,4,5]\r\nArray.from(new Set(first.concat(second)))","IsDeferred":false},{"Name":"function and Set","Code":"var first = [ \u0022hello\u0022, true, 7 ]\r\nvar second = [1,2,3,4,5]\r\nfunction unit(a,b){\r\n var arr = new Set()\r\n a.forEach((it)=\u003E{\r\n arr.add(it);\r\n })\r\n b.forEach((it)=\u003E{\r\n arr.add(it);\r\n })\r\n \r\n return Array.from(arr)\r\n}\r\nunit(first, second)","IsDeferred":false}]}