Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Mac OS X 10.15.5
Desktop
3 years ago
Test name Executions per second
Array.some 178002.5 Ops/sec
Array.filter 42584.3 Ops/sec
Array.indexOf 161484.6 Ops/sec
Array.includes 1676971.9 Ops/sec
Array.find 145262.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find