Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Android
Desktop
6 months ago
Test name Executions per second
array[array.length - 1] 2214187.0 Ops/sec
array.at(-1) 4342448.0 Ops/sec
Script Preparation code:
Tests:
  • array[array.length - 1]

  • array.at(-1)


;