{"ScriptPreparationCode":"window.top.tests = {push:[], spread:[]};\r\nwindow.test = (new Array(10)).fill(null);\r\nwindow.cutoff = 5000;","TestCases":[{"Name":"Push","Code":"for (let element of window.test) {\r\n window.top.tests.push.push(element);\r\n}\r\nif (window.top.tests.push.length \u003E window.cutoff) { window.top.tests.push = []; console.log(\u0027reset push\u0027); }","IsDeferred":false},{"Name":"Spread","Code":"for (let element of window.test) {\r\n window.top.tests.spread = [...window.top.tests.spread, element];\r\n}\r\nif (window.top.tests.spread.length \u003E window.cutoff) { window.top.tests.spread = []; console.log(\u0027reset spread\u0027); }","IsDeferred":false}]}