{"ScriptPreparationCode":"var list = [];\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n list.push({\u0027s\u0027:\u0027usd\u0027, \u0027p\u0027:i});\r\n}","TestCases":[{"Name":"slice","Code":"list.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nlist=list.slice(list.length-1000)","IsDeferred":false},{"Name":"splice","Code":"list.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nlist.splice(0, list.length-1000);","IsDeferred":false},{"Name":"shift -while","Code":"list.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nwhile(list.length\u003E1000){\r\n list.shift();\r\n}","IsDeferred":false},{"Name":"shift-for","Code":"list.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.push({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nfor(let i=0; i\u003C(list.length-998); i\u002B\u002B){\r\n list.shift();\r\n}","IsDeferred":false}]}