{"ScriptPreparationCode":"const arrayCount = 500;\r\nconst arraySize = 4;\r\n\r\nvar arrays = [];\r\nfor(let i = 0; i \u003C arrayCount; i\u002B\u002B) {\r\n arrays.push(Array.from({length: arraySize}, () =\u003E Math.floor(Math.random() * 40)));\r\n}\r\n ","TestCases":[{"Name":"push","Code":"let result = [];\r\narrays.forEach(curr =\u003E {result.push(...curr)});","IsDeferred":false},{"Name":"concat","Code":"let result = [];\r\narrays.forEach(curr =\u003E {result = result.concat(curr)});","IsDeferred":false},{"Name":"concat spread","Code":"let result = [];\r\nresult = result.concat(...arrays);","IsDeferred":false},{"Name":"push apply","Code":"let result = [];\r\narrays.forEach(curr =\u003E {Array.prototype.push.apply(result, curr);});","IsDeferred":false},{"Name":"concat apply","Code":"let result = [];\r\nresult = Array.prototype.concat.apply(result, arrays);","IsDeferred":false}]}