{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread","Code":"return [...new Set([1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7])]","IsDeferred":false},{"Name":"use lodash","Code":"return _.uniq([1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]);","IsDeferred":false},{"Name":"Array.from","Code":"return Array.from( new Set([1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]) );","IsDeferred":false},{"Name":"filter","Code":"const arr = [1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]\r\nreturn arr.filter((num,index)=\u003E index =arr.indexOf(num) )","IsDeferred":false}]}