Run details:
Mozilla/5.0 (Linux; Android 12; SM-G996B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
Array.some 36676.4 Ops/sec
Array.filter 19801.0 Ops/sec
Array.indexOf 79662.0 Ops/sec
Array.includes 505552.2 Ops/sec
Array.find 38860.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find