{"ScriptPreparationCode":"function isJsArray(obj_0) {\r\n var tmp0_unsafeCast_0 = Array.isArray(obj_0);\r\n return tmp0_unsafeCast_0;\r\n }\r\n\r\nfunction isArray(obj_0) {\r\n var tmp;\r\n if (isJsArray(obj_0)) {\r\n tmp = !obj_0.$type$;\r\n } else {\r\n tmp = false;\r\n }\r\n return tmp;\r\n }\r\n\r\nfunction arrayConcat(args) {\r\n var len = args.length;\r\n var tmp0_unsafeCast_0 = Array(len);\r\n var typed = tmp0_unsafeCast_0;\r\n var inductionVariable = 0;\r\n var last = len - 1 | 0;\r\n if (inductionVariable \u003C= last)\r\n do {\r\n var i = inductionVariable;\r\n inductionVariable = inductionVariable \u002B 1 | 0;\r\n var arr = args[i];\r\n if (!(!(arr == null) ? isArray(arr) : false)) {\r\n typed[i] = [].slice.call(arr);\r\n } else {\r\n {\r\n typed[i] = arr;\r\n }\r\n }\r\n }\r\n while (!(i === last));\r\n return [].concat.apply([], typed);\r\n }\r\n\r\nvar args = (new Int32Array(10000)).map(_ =\u003E Math.random(1000000));","TestCases":[{"Name":"legacy","Code":"arrayConcat([0, 1], args)","IsDeferred":false},{"Name":"ir","Code":"[].concat.apply([], [[0, 1], [].slice.call(args)]);","IsDeferred":false}]}