Run details:
mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/94.0.4606.61 safari/537.36
Other
Other
Desktop
3 months ago
Test name Executions per second
Array.some 275217.7 Ops/sec
Array.filter 46259.1 Ops/sec
Array.indexOf 1230580.0 Ops/sec
Array.includes 1162874.8 Ops/sec
Array.find 259898.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find