{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.prototype.concat","Code":"const arr1 = [];\r\nconst arr2 = [];\r\nconst arr3 = [];\r\nconst arrs = []\r\n\r\nfor (let i = 0; i \u003C 2000; i\u002B\u002B) {\r\n arr1.push(i);\r\n}\r\nfor (let i = 0; i \u003C 3000; i\u002B\u002B) {\r\n arr2.push(i);\r\n}\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr3.push(i);\r\n}\r\narrs.push(arr1, arr2, arr3);\r\n\r\narrs.reduce((memo, val) =\u003E {\r\n return memo.concat(val);\r\n}, []);\r\n","IsDeferred":false},{"Name":"spread operator","Code":"const arr1 = [];\r\nconst arr2 = [];\r\nconst arr3 = [];\r\nconst arrs = []\r\n\r\nfor (let i = 0; i \u003C 2000; i\u002B\u002B) {\r\n arr1.push(i);\r\n}\r\nfor (let i = 0; i \u003C 3000; i\u002B\u002B) {\r\n arr2.push(i);\r\n}\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr3.push(i);\r\n}\r\narrs.push(arr1, arr2, arr3);\r\n\r\narrs.reduce((memo, val) =\u003E {\r\n return [...memo, ...val];\r\n}, []);\r\n","IsDeferred":false},{"Name":"Push","Code":"const arr1 = [];\r\nconst arr2 = [];\r\nconst arr3 = [];\r\nconst arrs = []\r\n\r\nfor (let i = 0; i \u003C 2000; i\u002B\u002B) {\r\n arr1.push(i);\r\n}\r\nfor (let i = 0; i \u003C 3000; i\u002B\u002B) {\r\n arr2.push(i);\r\n}\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr3.push(i);\r\n}\r\narrs.push(arr1, arr2, arr3);\r\n\r\narrs.reduce((memo, val) =\u003E {\r\n memo.push(...val);\r\n \r\n return memo;\r\n}, []);","IsDeferred":false}]}