Run details:
Mozilla/5.0 (Android 9; Mobile; rv:76.0) Gecko/76.0 Firefox/76.0
Firefox Mobile 76
Android
Mobile
4 years ago
Test name Executions per second
Array.some 34210.8 Ops/sec
Array.filter 15326.1 Ops/sec
Array.indexOf 49315.5 Ops/sec
Array.includes 38175.5 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes