{"ScriptPreparationCode":"var arr1 = [0,1,2,3,4,5,6,7,8,9];\r\nvar arr2 = [];\r\n\r\nfunction getLastPop(arr) {\r\n return arr.pop();\r\n}\r\n\r\nfunction getLastAt(arr) {\r\n return arr.shift();\r\n}","TestCases":[{"Name":"pop","Code":"getLastPop(arr1);\r\ngetLastPop(arr1);\r\ngetLastPop(arr2);","IsDeferred":false},{"Name":"at","Code":"getLastAt(arr1);\r\ngetLastAt(arr1);\r\ngetLastAt(arr2);","IsDeferred":false}]}