Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Fedora
Desktop
3 years ago
Test name Executions per second
Array.some 20353.2 Ops/sec
Array.filter 11809.5 Ops/sec
Array.indexOf 58605.4 Ops/sec
Array.includes 49727.4 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes