{"ScriptPreparationCode":"function filterUniq(arr){\r\n\treturn arr.filter((i,p)=\u003E{\r\n return arr.indexOf(i) == p\r\n }); \r\n}\r\nfunction setUniq(arr){\r\n\treturn [...new Set(arr)] \r\n}\r\nvar a = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5]","TestCases":[{"Name":"Filter","Code":"var b = filterUniq(a)","IsDeferred":false},{"Name":"Set","Code":"var b = setUniq(a)","IsDeferred":false}]}