{"ScriptPreparationCode":null,"TestCases":[{"Name":"push apply","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\nArray.prototype.push.apply(arr2, arr)","IsDeferred":false},{"Name":"push spread","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\narr2.push(...arr)","IsDeferred":false},{"Name":"concat","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\narr2 = arr2.concat(arr)","IsDeferred":false},{"Name":"for push","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\nfor(var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n\tarr2.push(arr[i])\r\n}","IsDeferred":false},{"Name":"for of push","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\nfor(var item of arr) {\r\n\tarr2.push(item)\r\n}","IsDeferred":false},{"Name":"forEach push","Code":"var arr = [1,2,3,4,5,6,7,8,9,10]\r\nvar arr2 = [0]\r\narr.forEach(function(item) {\r\n\tarr2.push(item)\r\n})","IsDeferred":false}]}