Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36
Chrome 61
Linux
Other
2025 years ago
Test name Executions per second
Array.some 10433.4 Ops/sec
Array.filter 19158.0 Ops/sec
Array.indexOf 110141.9 Ops/sec
Array.lastIndexOf 107899.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.lastIndexOf