Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
3 years ago
Test name Executions per second
findIndex 21909.5 Ops/sec
map and indexOf 1291.1 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf