Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Mac OS X 10.13
Desktop
4 years ago
Test name Executions per second
findIndex 28924.5 Ops/sec
map and indexOf 2700.4 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf