{"ScriptPreparationCode":"var a = new Array(10000).fill(0).map(() =\u003E Math.floor(Math.random() * 10000));\r\nvar b = new Array(10000).fill(0).map(() =\u003E Math.floor(Math.random() * 10000).toString(32));","TestCases":[{"Name":"Set number","Code":"var u = [...new Set(a).keys()]","IsDeferred":false},{"Name":"Object number","Code":"var u = Object.values(a.reduce(\r\n (res, k) =\u003E {\r\n res[k] ??= k;\r\n return res;\r\n },{}\r\n \t));","IsDeferred":false},{"Name":"object filter number","Code":"const f = new Set();\r\nreturn a.filter((v) =\u003E (f.has(v) ? false : f.add(v)));","IsDeferred":false},{"Name":"Set string","Code":"var u = [...new Set(b).keys()]","IsDeferred":false},{"Name":"Object string","Code":"var u = Object.values(b.reduce(\r\n (res, k) =\u003E {\r\n res[k] ??= k;\r\n return res;\r\n },{}\r\n \t));","IsDeferred":false},{"Name":"object filter string","Code":"const f = new Set();\r\n return b.filter((v) =\u003E (f.has(v) ? false : f.add(v)));","IsDeferred":false}]}