Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
findIndex 18292.1 Ops/sec
map and indexOf 451.9 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf