Run details:
Mozilla/5.0 (Linux; Android 11; SM-A307GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
character index 1069971.5 Ops/sec
charAt() 1079117.2 Ops/sec
slice() 1044877.7 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;