{"ScriptPreparationCode":"window.top.tests = {control:[], concat:[], pushspread:[], spreadonly: []};\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 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 spread\u0027); }","IsDeferred":false},{"Name":"Spread only","Code":"window.top.tests.spreadonly = [...window.top.tests.spreadonly, ...window.test];\r\nif (window.top.tests.spreadonly.length \u003E window.cutoff) { window.top.tests.spreadonly = []; console.log(\u0027reset spread\u0027); }","IsDeferred":false}]}