Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
character index 257353344.0 Ops/sec
charAt() 218541856.0 Ops/sec
slice() 226671696.0 Ops/sec
Script Preparation code:
Tests:
  • character index

  • charAt()

  • slice()


;