Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Windows
Desktop
4 months ago
Test name Executions per second
Array.some 42297.9 Ops/sec
Array.filter 27867.7 Ops/sec
Array.indexOf 268053.5 Ops/sec
Array.includes 220384.3 Ops/sec
Array.find 66682.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find