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

  • map and indexOf