{"ScriptPreparationCode":"window.top.tests = {control:[], concat:[], spread:[], flat: []};\r\nwindow.test = (new Array(10)).fill(null);\r\nwindow.arrays = (new Array(10)).fill(window.test);\r\nwindow.cutoff = 5000;","TestCases":[{"Name":"Control (for push)","Code":"window.top.tests.control = window.arrays.reduce((acc, arr) =\u003E {\r\n acc.push.apply(arr);\r\n return acc;\r\n}, []);\r\nif (window.top.tests.control.length \u003E window.cutoff) { window.top.tests.control = []; console.log(\u0027reset control\u0027); }","IsDeferred":false},{"Name":"Concat","Code":"window.top.tests.concat = window.arrays.reduce((acc, arr) =\u003E acc.concat(arr), []);\r\nif (window.top.tests.concat.length \u003E window.cutoff) { window.top.tests.concat = []; console.log(\u0027reset concat\u0027); }","IsDeferred":false},{"Name":"Spread","Code":"window.top.tests.spread = window.arrays.reduce((acc, arr) =\u003E [...acc, ...arr], []);\r\nif (window.top.tests.spread.length \u003E window.cutoff) { window.top.tests.spread = []; console.log(\u0027reset spread\u0027); }","IsDeferred":false},{"Name":"Flat","Code":"window.top.tests.flat = window.arrays.flat();\r\nif (window.top.tests.flat.length \u003E window.cutoff) { window.top.tests.flat = []; console.log(\u0027reset flat\u0027); }","IsDeferred":false}]}