{"ScriptPreparationCode":"a = new Array(10000).fill(1);","TestCases":[{"Name":"getUnique","Code":"const getUnique = arr =\u003E {\r\n const u = {};\r\n const a = [];\r\n const l = arr.length;\r\n for (let i = 0; i \u003C l; i \u002B= 1) {\r\n // eslint-disable-next-line no-prototype-builtins\r\n if (!u.hasOwnProperty(arr[i])) {\r\n a.push(arr[i]);\r\n u[arr[i]] = 1;\r\n }\r\n }\r\n return a;\r\n};\r\n\r\ngetUnique(a)","IsDeferred":false},{"Name":"getUniqueArray","Code":"const getUniqueArray = arr =\u003E Array.from(new Set(arr));\r\n\r\ngetUniqueArray(a)","IsDeferred":false}]}