Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/11.1 Chrome/75.0.3770.143 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
4 years ago
Test name Executions per second
Array.some 23932.1 Ops/sec
Array.filter 14820.8 Ops/sec
Array.indexOf 66061.2 Ops/sec
Array.find 34258.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.find