Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130
Android
Mobile
18 hours ago
Test name Executions per second
array[array.length - 1] 293238.5 Ops/sec
array.at(-1) 548648.8 Ops/sec
Script Preparation code:
Tests:
  • array[array.length - 1]

  • array.at(-1)


;