Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Linux
Desktop
3 years ago
Test name Executions per second
Array.some 29631.4 Ops/sec
Array.filter 16455.4 Ops/sec
Array.indexOf 181722.3 Ops/sec
Array.includes 112555.8 Ops/sec
Array.find 34372.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find