Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Windows 8.1
Desktop
3 years ago
Test name Executions per second
Array.some 4160.1 Ops/sec
Array.filter 2213.6 Ops/sec
Array.indexOf 32456.0 Ops/sec
Array.includes 18888.1 Ops/sec
Array.find 5621.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find