Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Windows 7
Desktop
3 years ago
Test name Executions per second
Array.some 20183.7 Ops/sec
Array.filter 10893.3 Ops/sec
Array.indexOf 94992.6 Ops/sec
Array.includes 73106.0 Ops/sec
Array.find 25472.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find