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