arrat.at

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
length-1
const arr =[1,2,3,4,5,6,7,8,9,10]
console.log(arr[arr.length-1])
ready
at
const arr =[1,2,3,4,5,6,7,8,9,10]
console.log(arr.at(-1))
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.