Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows
Other
2025 years ago
Test name Executions per second
Array.some 123648.3 Ops/sec
Array.filter 47269.1 Ops/sec
Array.indexOf 61552.3 Ops/sec
Array.lastIndexOf 73659.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.lastIndexOf