{"ScriptPreparationCode":"var arr = [];\r\nfor (let i = 0; i \u003C 1000000; i\u002B\u002B) {\r\n arr.push(i);\r\n}","TestCases":[{"Name":"Slice","Code":"for (let i = 0; i \u003C 10000; 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 10000; i\u002B\u002B) {\r\n const v = arr[arr.length - 1];\r\n}","IsDeferred":false},{"Name":"At ES2022 method -1 index","Code":"for (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n const v = arr.at(-1);\r\n}","IsDeferred":false}]}