{"ScriptPreparationCode":"var subarrsBase = [\r\n [ \u0022hello\u0022, true, 7 ],\r\n [ \u0022yes\u0022, \u0022no\u0022, \u0022maybe\u0022, false, 27 ],\r\n [ 16, \u0022I\u0022, \u0022wonder\u0022, \u0022what\u0022, \u0022will\u0022, \u0022be\u0022, \u0022fastest\u0022]\r\n];\r\n\r\nvar subarrs = subarrsBase.map(arr =\u003E {\r\n let newArr = [...arr];\r\n for(let i = 0; i \u003C 10; i\u002B\u002B) {\r\n newArr = [...newArr, ...newArr];\r\n }\r\n return newArr;\r\n})","TestCases":[{"Name":"Array.prototype.concat","Code":"var other = [ 1, 2, 3 ]\r\nfor (var len = subarrs.length, i = 0; i \u003C len; i\u002B\u002B){\r\n other = other.concat(subarrs[i]);\r\n}\r\nreturn other;","IsDeferred":false},{"Name":"spread operator","Code":"var other = [ 1, 2, 3 ]\r\nfor (var len = subarrs.length, i = 0; i \u003C len; i\u002B\u002B){\r\n other = [ ...other, ...subarrs[i] ]\r\n}\r\nreturn other;","IsDeferred":false},{"Name":"Push Spread","Code":"var other = [ 1, 2, 3 ]\r\nfor (var len = subarrs.length, i = 0; i \u003C len; i\u002B\u002B){\r\n other.push(...subarrs[i]);\r\n}\r\nreturn other;","IsDeferred":false},{"Name":"Push Apply","Code":"var other = [ 1, 2, 3 ]\r\nfor (var len = subarrs.length, i = 0; i \u003C len; i\u002B\u002B){\r\n other.push.apply(other, subarrs[i]);\r\n}\r\nreturn other;\r\n","IsDeferred":false},{"Name":"Push Loop","Code":"var other = [ 1, 2, 3 ]\r\nfor (var len = subarrs.length, i = 0; i \u003C len; i\u002B\u002B){\r\n for (var jarr = subarrs[i], jen = jarr.length, j = 0; j \u003C jen; j\u002B\u002B){\r\n other.push(jarr[j]);\r\n }\r\n}\r\nreturn other;","IsDeferred":false}]}