{"ScriptPreparationCode":null,"TestCases":[{"Name":"spread","Code":"// Used to popolate the arrays to merge with 10.000.000 elements.\r\nlet array1 = [];\r\nlet array2 = [];\r\nfor (let i = 0; i \u003C 10000000; \u002B\u002Bi) {\r\n array1.push(i);\r\n array2.push(i);\r\n}\r\n\r\nconst array3 = [ ...array1, ...array2 ];","IsDeferred":false},{"Name":"concat","Code":"// Used to popolate the arrays to merge with 10.000.000 elements.\r\nlet array1 = [];\r\nlet array2 = [];\r\nfor (let i = 0; i \u003C 10000000; \u002B\u002Bi) {\r\n array1.push(i);\r\n array2.push(i);\r\n}\r\n\r\n// The concat performance test.\r\nconst array3 = array1.concat(array2);","IsDeferred":false}]}