Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
4 months ago
Test name Executions per second
Array.some 52831.2 Ops/sec
Array.filter 28112.6 Ops/sec
Array.indexOf 450312.3 Ops/sec
Array.includes 309420.8 Ops/sec
Array.find 75735.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find