Run details:
Mozilla/5.0 (iPad; CPU OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/102.0.1245.39 Version/15.0 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.5
Tablet
2 years ago
Test name Executions per second
Array.some 72409.1 Ops/sec
Array.filter 28837.1 Ops/sec
Array.indexOf 53717.5 Ops/sec
Array.includes 105136.7 Ops/sec
Array.find 110703.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find