Run details:
Mozilla/5.0 (Android 11; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0
Firefox Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Array.some 11668.5 Ops/sec
Array.filter 6327.3 Ops/sec
Array.indexOf 68114.8 Ops/sec
Array.includes 59933.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes