Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
character index 2017922.9 Ops/sec
charAt() 2321583.2 Ops/sec
slice() 1980702.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;