Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/73.0.3683.68 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 73
iOS 12.2
Mobile
5 years ago
Test name Executions per second
Array.some 107334.0 Ops/sec
Array.filter 46496.1 Ops/sec
Array.indexOf 318753.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf