Run details:
Mozilla/5.0 (Linux; Android 11; XQ-AT72) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
character index 5191413.5 Ops/sec
charAt() 5214112.0 Ops/sec
slice() 4967450.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;