Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Windows 7
Desktop
3 years ago
Test name Executions per second
Array.some 20925.4 Ops/sec
Array.filter 11772.3 Ops/sec
Array.indexOf 71112.0 Ops/sec
find 20113.5 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • find