Run details:
Mozilla/5.0 (Linux; Android 9; Redmi 8A Dual) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36
Chrome Mobile 95
Android
Mobile
2 years ago
Test name Executions per second
Array.some 9154.4 Ops/sec
Array.filter 1028.3 Ops/sec
Array.indexOf 22329.6 Ops/sec
Array.includes 187882.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes