{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array includes","Code":"array = []\r\nfor (var i = 0; i \u003C= 10000; i\u002B\u002B) {\r\n array[i] = i\r\n}\r\narray2 = array.reverse().filter((e, i, a) =\u003E !(a.slice(i\u002B1).includes(e))).reverse()","IsDeferred":false},{"Name":"Set","Code":"array = []\r\nfor (var i = 0; i \u003C= 10000; i\u002B\u002B) {\r\n array[i] = i\r\n}\r\narray2 = Array.from(new Set(array))","IsDeferred":false}]}