Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.some 27655.4 Ops/sec
Array.filter 19219.0 Ops/sec
Array.indexOf 263340.5 Ops/sec
Array.includes 104450.9 Ops/sec
Array.find 43226.4 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find