{"ScriptPreparationCode":"var buildPts = (idx, num) =\u003E {\r\n return {\r\n x: idx,\r\n y: num,\r\n label: {\r\n x: \u0027\u0027 \u002B idx,\r\n y: \u0027\u0027 \u002B num,\r\n active: {\r\n x: \u0027\u0027 \u002B idx,\r\n },\r\n status: {\r\n x: \u0027\u0027 \u002B idx,\r\n },\r\n },\r\n };\r\n};\r\n\r\nvar array1 = Array(400).fill().map((n, i) =\u003E buildPts(i, Math.round(Math.random() * 40)));\r\nvar array2 = Array(400).fill().map((n, i) =\u003E buildPts(i, Math.round(Math.random() * 40)));","TestCases":[{"Name":"Array.prototype.concat","Code":"var others = array1.concat(array2);","IsDeferred":false},{"Name":"spread operator","Code":"var others = [...array1, ...array2];","IsDeferred":false},{"Name":"stringify","Code":"var others = JSON.parse((JSON.stringify(array1)\u002BJSON.stringify(array2)).replace(\u0027][\u0027,\u0027,\u0027))","IsDeferred":false},{"Name":"concat apply","Code":"var others = Array.prototype.concat.apply([], [array1, array2]);","IsDeferred":false},{"Name":"loop","Code":"var others = [];\r\nfor (var i = 0; i \u003C 400; i\u002B=1) {\r\n\tothers[i] = array1[i]\r\n}\r\nfor (var i = 400; i \u003C 800; i\u002B=1) {\r\n\tothers[i] = array2[i]\r\n}","IsDeferred":false}]}