Run details:
Mozilla/5.0 (Linux; Android 9; INE-LX2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
3 years ago
Test name Executions per second
Array.some 14088.5 Ops/sec
Array.filter 3844.2 Ops/sec
Array.indexOf 48120.2 Ops/sec
Array.includes 901208.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes