{"ScriptPreparationCode":"window.top.tests = {control:[], concat:[], pushSpread: [], spread:[]};\r\nwindow.test = (new Array(10)).fill(null);\r\nwindow.cutoff = 5000;","TestCases":[{"Name":"Control (for push)","Code":"for (let element of window.test) window.top.tests.control.push(element);\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.top.tests.concat.concat(window.test);\r\nif (window.top.tests.concat.length \u003E window.cutoff) { window.top.tests.concat = []; console.log(\u0027reset concat\u0027); }","IsDeferred":false},{"Name":"Push (with spread)","Code":"window.top.tests.pushSpread.push(...window.test);\r\nif (window.top.tests.pushSpread.length \u003E window.cutoff) { window.top.tests.pushSpread = []; console.log(\u0027reset push spread\u0027); }","IsDeferred":false},{"Name":"Spread","Code":"window.top.tests.spread = [...window.top.tests.spread, ...window.test];\r\nif (window.top.tests.spread.length \u003E window.cutoff) { window.top.tests.spread = []; console.log(\u0027reset spread\u0027); }","IsDeferred":false}]}