{"ScriptPreparationCode":"testArray = [];\r\nfor (let i = 0; i \u003C 50000; i\u002B\u002B) testArray.push(i)","TestCases":[{"Name":"Splice","Code":"const newTestArray = testArray.splice(0);","IsDeferred":false},{"Name":"Slice","Code":"const newTestArray = testArray.slice();","IsDeferred":false},{"Name":"Concat","Code":"const newTestArray = testArray.concat();","IsDeferred":false},{"Name":"Spread","Code":"const newTestArray = [...testArray];","IsDeferred":false},{"Name":"For cycle with preallocation","Code":"const testArrLen = testArray.length;\r\nconst resArr = new Array(testArrLen);\r\nfor (let i = 0; i \u003C testArrLen; i\u002B\u002B) {\r\n resArr[i] = testArray[i];\r\n}","IsDeferred":false}]}