Array.at(index)

Benchmark created on


Setup

const array = new Array(99999).fill("test-string")

Test runner

Ready to run.

Testing in
TestOps/sec
indexable[index]
console.log(array[array.length-1])
ready
indexable.at(index)
console.log(array.at(-1))
ready

Revisions

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