{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread","Code":"return [...new Set(arr)]","IsDeferred":false},{"Name":"use lodash","Code":"return _.uniq(arr);","IsDeferred":false},{"Name":"Array.from","Code":"return Array.from( new Set(arr) );","IsDeferred":false},{"Name":"just set","Code":"new Set(arr)","IsDeferred":false},{"Name":"Loop","Code":"const res = new Set()\r\n\r\nfor (let i of arr) {\r\n res.add(i)\r\n}","IsDeferred":false}]}