{"ScriptPreparationCode":"var buffer_to_fill = new Array(0);\r\nvar buffer_to_empty = new Array(1000);\r\nbuffer_to_empty.forEach(item =\u003E item=Math.floor(Math.random()*1000));","TestCases":[{"Name":"push_foreach","Code":"buffer_to_empty.forEach(item =\u003E buffer_to_fill.push(item));","IsDeferred":false},{"Name":"concat","Code":"buffer_to_fill = buffer_to_fill.concat(buffer_to_empty);","IsDeferred":false},{"Name":"splice","Code":"buffer_to_empty = buffer_to_empty.splice(0,50);","IsDeferred":false},{"Name":"shift","Code":"while (buffer_to_empty.length\u003E50) {\r\n\tbuffer_to_empty.shift();\r\n}","IsDeferred":false},{"Name":"push_for_loop","Code":"for (var i=0; i\u003Cbuffer_to_empty.length; i\u002B\u002B){\r\n\tbuffer_to_fill.push(buffer_to_empty[i]);\r\n}\r\n","IsDeferred":false}]}