Run details:
Mozilla/5.0 (X11; CrOS aarch64 14150.74.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.114 Safari/537.36
Chrome 94
Chrome OS 14150.74.0
Desktop
3 years ago
Test name Executions per second
charCodeAt(0) 4614597.5 Ops/sec
charCodeAt(300) 4592653.5 Ops/sec
[0] 4739948.0 Ops/sec
[10] 4751967.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]