{"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.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nif(list.length\u003E1000){\r\n list=list.slice(0, 1000)\r\n}","IsDeferred":false},{"Name":"splice","Code":"list.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nif(list.length\u003E1000){\r\n list.splice(1000, list.length);\r\n}","IsDeferred":false},{"Name":"pop-while","Code":"list.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nwhile(list.length\u003E1000){\r\n list.pop();\r\n}","IsDeferred":false},{"Name":"pop-for","Code":"list.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:13})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:14})\r\nlist.unshift({\u0027s\u0027:\u0027cad\u0027, \u0027p\u0027:15})\r\n\r\nfor(let i=998; i\u003Clist.length; i\u002B\u002B){\r\n list.pop();\r\n}","IsDeferred":false}]}