Run details:
Mozilla/5.0 (Linux; Android 10; SM-G965U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
for loop 868437.1 Ops/sec
indexOf 16424.0 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • indexOf


;