Run details:
Mozilla/5.0 (Linux; Android 9; moto g(6)) 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 1566.1 Ops/sec
Array.filter 907.5 Ops/sec
Array.indexOf 16657.7 Ops/sec
Array.includes 166497.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes