Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Ubuntu
Desktop
2 years ago
Test name Executions per second
charCodeAt(0) 137541264.0 Ops/sec
charCodeAt(300) 139520080.0 Ops/sec
[0] 143468368.0 Ops/sec
[10] 139571728.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]