Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
character index 5929135.5 Ops/sec
charAt() 5799666.0 Ops/sec
slice() 5355276.5 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;