Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Mac OS X 10.12
Other
2025 years ago
Test name Executions per second
Array.some 213925.3 Ops/sec
Array.filter 96982.9 Ops/sec
Array.indexOf 89879.2 Ops/sec
Array.lastIndexOf 93369.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.lastIndexOf