Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
charCodeAt(0) 12830940.0 Ops/sec
charCodeAt(300) 12858024.0 Ops/sec
[0] 12790676.0 Ops/sec
[10] 13161239.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]


;