{"ScriptPreparationCode":"var subarrs = [\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];","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 Loop for of","Code":"let other = [ 1, 2, 3 ]\r\nfor (const sub of subarrs){\r\n for (const item of sub){\r\n other.push(item)\r\n }\r\n}\r\nreturn other;\r\n","IsDeferred":false},{"Name":"Push Loop for","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}]}