{"ScriptPreparationCode":"\r\nvar arr = [\u0027Jane\u0027, \u0027Bob\u0027, \u0027Kat\u0027, \u0027Kat\u0027, \u0027Bob\u0027, \u0027Jane\u0027, \u0027Ian\u0027, \u0027Jane\u0027, \u0027Bob\u0027, \u0027Kat\u0027, \u0027Kat\u0027, \u0027Bob\u0027, \u0027Jane\u0027, \u0027Ian\u0027];\r\n\r\nArray.prototype.uniqueString = function() {\r\n let tmpObj = {}\r\n for (var i = 0; i \u003C this.length; i\u002B\u002B) {\r\n tmpObj[this[i]] = this[i]\r\n }\r\n return Object.values(tmpObj)\r\n}","TestCases":[{"Name":"Lodash uniq","Code":"_.uniq(arr);","IsDeferred":false},{"Name":"Object unique key","Code":"arr.uniqueString();","IsDeferred":false},{"Name":"Set","Code":"new Set(arr)","IsDeferred":false}]}