{"ScriptPreparationCode":null,"TestCases":[{"Name":"Filter","Code":"var l = [1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7].filter((item, index, array) =\u003E array.indexOf(item) === index);\r\nreturn l;","IsDeferred":false},{"Name":"Array","Code":"var l = [1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];\r\nreturn _.uniq(l);","IsDeferred":false},{"Name":"Set","Code":"var l = [1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]\r\nconst _set = new Set(l)\r\nfunction setToArray(set) {\r\n let index = -1\r\n const result = new Array(set.size)\r\n\r\n set.forEach((value) =\u003E {\r\n result[\u002B\u002Bindex] = value\r\n })\r\n return result\r\n}\r\nreturn setToArray(_set)","IsDeferred":false}]}