{"ScriptPreparationCode":"var arr = [];\r\nvar i = 0;\r\nvar copies = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192]; // length 14\r\nvar result1 = [];\r\nvar result2 = [];\r\n\r\nwhile (i \u003C= 1E5) arr[i] = i\u002B\u002B;","TestCases":[{"Name":"forEach, findIndex, push","Code":"arr.forEach(item =\u003E {\r\nif(copies.findIndex(copy =\u003E copy === item) === -1){\r\nresult1.push(item);\r\n}\r\n});","IsDeferred":false},{"Name":"spread, new Set","Code":"result2 = [...new Set([...arr,...copies])];","IsDeferred":false}]}