Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Chrome 79
Windows
Desktop
4 years ago
Test name Executions per second
charCodeAt(0) 7302966.0 Ops/sec
charCodeAt(300) 7523033.5 Ops/sec
[0] 7449840.5 Ops/sec
[10] 7402844.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]


;