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