Run details:
Mozilla/5.0 (Linux; Android 10; SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
4 years ago
Test name Executions per second
Array.some 22314.2 Ops/sec
Array.filter 4721.7 Ops/sec
Array.indexOf 48239.2 Ops/sec
Array.includes 636983.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes