Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
charCodeAt(0) 3572319.8 Ops/sec
charCodeAt(300) 3612198.0 Ops/sec
[0] 3606347.0 Ops/sec
[10] 3589847.8 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]