Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Windows 7
Desktop
2 years ago
Test name Executions per second
array[array.length - 1] 779269952.0 Ops/sec
array.at(-1) 519682528.0 Ops/sec
Script Preparation code:
Tests:
  • array[array.length - 1]

  • array.at(-1)


;