Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/75.0.3770.70 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 75
iOS 12.3
Mobile
5 years ago
Test name Executions per second
Array.some 142893.8 Ops/sec
Array.filter 35587.2 Ops/sec
Array.indexOf 242508.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf