{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array Unique","Code":"let counter = 1e5;\r\nconst arr = [];\r\nwhile(counter--) {\r\n for (let i=0; i\u003C 30; i\u002B\u002B) {\r\n if (arr.indexOf(i) === -1) {\r\n \t\tarr.push(i);\r\n \t}\r\n }\r\n}\r\narr","IsDeferred":false},{"Name":"Set Unique","Code":"let counter = 1e5;\r\nconst set = new Set();\r\nwhile(counter--) {\r\n for (let i=0; i \u003C 30; i\u002B\u002B) {\r\n \tset.add(i);\r\n }\r\n}\r\n[...set];","IsDeferred":false}]}