Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.107 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
charCodeAt(0) 17325632.0 Ops/sec
charCodeAt(300) 17559288.0 Ops/sec
[0] 17466548.0 Ops/sec
[10] 17361628.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]


;