Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 9S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Array.some 59751.5 Ops/sec
Array.filter 25444.6 Ops/sec
Array.indexOf 91449.1 Ops/sec
Array.includes 679214.9 Ops/sec
Array.find 59732.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find