Run details:
Mozilla/5.0 (X11; Linux i686; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Linux
Desktop
4 years ago
Test name Executions per second
.charAt 79.5 Ops/sec
.indexOf 141.9 Ops/sec
Str[index] 143.2 Ops/sec
.startWith 182.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • .charAt

  • .indexOf

  • Str[index]

  • .startWith


;