{"ScriptPreparationCode":"var arr = [];\r\nfor (let i = 0; i \u003C 1000000; i\u002B\u002B) {\r\n arr.push(i);\r\n}","TestCases":[{"Name":"slice/0","Code":"for (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const v = arr.slice(-1)[0];\r\n}","IsDeferred":false},{"Name":"length - 1","Code":"for (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const v = arr[arr.length - 1];\r\n}","IsDeferred":false},{"Name":"slice/pop","Code":"for (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const v = arr.slice(-1).pop();\r\n}","IsDeferred":false},{"Name":"slice/shift","Code":"for (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const v = arr.slice(-1).shift();\r\n}","IsDeferred":false}]}