{"ScriptPreparationCode":"var a = [];\r\nvar b = [];\r\nfor (let i = 0; i \u003C 200000; i\u002B\u002B) {\r\n let s = i.toString();\r\n a.push(s);\r\n b.push(s);\r\n}","TestCases":[{"Name":"immutable with concat","Code":"a.slice(0, 100000).concat(b, a.slice(100000))","IsDeferred":false},{"Name":"direct mutation with splice","Code":"let pos_a = 100000;\r\nlet pos_b = 0;\r\nfor (let i = 0; i \u003C 4; i\u002B\u002B) {\r\n a.splice(pos_a, 0, ...(b.slice(pos_b, pos_b \u002B 50000)));\r\n pos_a \u002B= 50000;\r\n pos_b \u002B= 50000;\r\n}","IsDeferred":false}]}