Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Array.some 20498.8 Ops/sec
Array.filter 5182.9 Ops/sec
Array.indexOf 47883.3 Ops/sec
Array.includes 356343.5 Ops/sec
Array.find 21928.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find