Run details:
Mozilla/5.0 (Linux; Android 10; SM-N960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Array.some 45814.3 Ops/sec
Array.filter 8699.1 Ops/sec
Array.indexOf 72648.5 Ops/sec
Array.findIndex 38241.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.findIndex