Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Linux
Desktop
4 years ago
Test name Executions per second
Array.some 68209.3 Ops/sec
Array.filter 32552.5 Ops/sec
Array.indexOf 109106.7 Ops/sec
Array.findIndex 63834.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.findIndex