Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Chrome 83
Mac OS X 10.16.0
Desktop
3 years ago
Test name Executions per second
Array.some 114867.8 Ops/sec
Array.filter 38990.0 Ops/sec
Array.indexOf 167264.6 Ops/sec
Array.includes 2811122.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes


;