Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 Waterfox/56.6.2021.08.1
Firefox 68
Windows
Desktop
3 years ago
Test name Executions per second
Array.some 115247.5 Ops/sec
Array.filter 39899.6 Ops/sec
Array.indexOf 144704.6 Ops/sec
Array.includes 71225.3 Ops/sec
Array.find 106537.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find