Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.some 36346.4 Ops/sec
Array.filter 21365.6 Ops/sec
Array.indexOf 337534.5 Ops/sec
Array.includes 207458.9 Ops/sec
Array.find 50579.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find