Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
character index 3029854.2 Ops/sec
charAt() 3033190.5 Ops/sec
slice() 2893039.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;