{"ScriptPreparationCode":"console.log(\u0027Testing array spread vs. array concatenation\u0027);","TestCases":[{"Name":"Concatenation","Code":"const largeNumber = 1000;\r\nconst largeArray = Array(largeNumber).fill(\u0027string\u0027);\r\nconst bigArray = Array(largeNumber).fill(99);\r\n\r\nlet data;\r\nfor (let i = 0; i \u003C largeNumber; i\u002B\u002B) {\r\n\tdata = largeArray.concat(bigArray);\r\n}","IsDeferred":false},{"Name":"Spread","Code":"const largeNumber = 1000;\r\nconst largeArray = Array(largeNumber).fill(\u0027string\u0027);\r\nconst bigArray = Array(largeNumber).fill(99);\r\n\r\nfor (let i = 0; i \u003C largeNumber; i\u002B\u002B) {\r\n\tdata = [...largeArray, ...bigArray];\r\n}","IsDeferred":false}]}