{"ScriptPreparationCode":null,"TestCases":[{"Name":"Shift","Code":"var n = 0;\r\nvar t = [];\r\nwhile(true) {\r\n \tt[n] = n;\r\n n\u002B\u002B;\r\n if(n==1000) \r\n break;\r\n}\r\nn = 0;\r\nwhile(true){\r\n n\u002B\u002B;\r\n t.shift();\r\n if(n==1000) \r\n break;\r\n}","IsDeferred":false},{"Name":"Pop","Code":"var n = 0;\r\nvar t = [];\r\nwhile(true) {\r\n \tt[n] = n;\r\n n\u002B\u002B;\r\n if(n==1000) \r\n break;\r\n}\r\nn = 0;\r\nwhile(true){\r\n n\u002B\u002B;\r\n t.pop();\r\n if(n==1000) \r\n break;\r\n}","IsDeferred":false}]}