Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Windows 7
Desktop
3 years ago
Test name Executions per second
charCodeAt(0) 1234306816.0 Ops/sec
charCodeAt(300) 1250416384.0 Ops/sec
[0] 1239866112.0 Ops/sec
[10] 1239567232.0 Ops/sec
Script Preparation code:
Tests:
  • charCodeAt(0)

  • charCodeAt(300)

  • [0]

  • [10]