Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Mac OS X 10.15
Desktop
4 months ago
Test name Executions per second
findIndex 30241.2 Ops/sec
indexOf 247894.8 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • indexOf