{"ScriptPreparationCode":null,"TestCases":[{"Name":"Test5","Code":"const testArray = [\r\n[1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \r\n[16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],\r\n[31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]]\r\nvar newTestArray = new Array();\r\n\r\n for (var x = 0; x \u003C testArray.length; x\u002B\u002B){\r\n for (var y = 0; y \u003C testArray[x].length; y\u002B\u002B){\r\n \tnewTestArray.push(testArray[x][y])\r\n }\r\n }","IsDeferred":false},{"Name":"Test4","Code":"const testArray = [\r\n[1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \r\n[16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],\r\n[31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]]\r\nconst newTestArray = testArray.reduce((prev, next) =\u003E prev.concat(next))","IsDeferred":false},{"Name":"Test3","Code":"const testArray = [\r\n[1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \r\n[16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],\r\n[31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]]\r\nconst newTestArray = [].concat(...testArray)","IsDeferred":false},{"Name":"Test2","Code":"const testArray = [\r\n[1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \r\n[16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],\r\n[31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]]\r\nconst newTestArray = testArray.join().split(\u0022,\u0022);","IsDeferred":false},{"Name":"Test1","Code":"const testArray = [\r\n[1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \r\n[16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],\r\n[31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]]\r\nconst newTestArray = [...new Set(testArray.flat())]","IsDeferred":false}]}