Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Chrome 85
Mac OS X 10.15.5
Desktop
3 years ago
Test name Executions per second
Array.some 78968.8 Ops/sec
Array.filter 31727.7 Ops/sec
Array.indexOf 158967.6 Ops/sec
Array.includes 2379850.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes


;