Run details:
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Ubuntu
Desktop
2 years ago
Test name Executions per second
character index 36450284.0 Ops/sec
charAt() 36323360.0 Ops/sec
slice() 16207298.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;