Run details:
Mozilla/5.0 (Linux; Android 12; LE2101) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
one year ago
Test name Executions per second
character index 3740574.5 Ops/sec
charAt() 3715301.5 Ops/sec
slice() 3786473.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;