{"ScriptPreparationCode":"globalThis.nonUnique = [\u0027one\u0027, \u0027two\u0027, \u0027three\u0027, \u0027three\u0027, \u0027four\u0027, \u0027four\u0027, \u0027five\u0027, \u0027six\u0027, \u0027seven\u0027, \u0027eight\u0027, \u0027nine\u0027];","TestCases":[{"Name":"Reduce","Code":"Object.keys(globalThis.nonUnique.reduce((acc, item) =\u003E {\r\n if (!acc[item]) {\r\n acc[item] = true\r\n };\r\n return acc;\r\n}, {}));","IsDeferred":false},{"Name":"Set","Code":"Array.from(new Set(globalThis.nonUnique));","IsDeferred":false},{"Name":"Filter","Code":"globalThis.nonUnique.filter((value, index, array) =\u003E {\r\n return array.indexOf(value) === index;\r\n})","IsDeferred":false}]}