{"ScriptPreparationCode":"var array = [];\r\nfor (let i = 0; i \u003C 100000; i\u002B\u002B) {\r\n array.push(i % 3);\r\n}","TestCases":[{"Name":"test Set ","Code":"const toto = [...new Set(array)];","IsDeferred":false},{"Name":"test _uniq","Code":"const tata = _.uniq(array);","IsDeferred":false},{"Name":"test filter","Code":"const uniqueArray = array.filter(function(item, pos) {\r\n return array.indexOf(item) == pos;\r\n})","IsDeferred":false},{"Name":"object keys","Code":"const obj = {}\r\nfor (let i = 0, iLen = array.lenght; i\u003CiLen ; i\u002B\u002B){\r\n\tobj[array[i]] = true\r\n}\r\nreturn Object.keys(obj);","IsDeferred":false}]}