Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Windows
Desktop
3 years ago
Test name Executions per second
Array.some 32132.1 Ops/sec
Array.filter 16585.4 Ops/sec
Array.indexOf 113337.8 Ops/sec
Array.includes 91833.9 Ops/sec
Array.find 44718.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find