Run details:
Mozilla/5.0 (Linux; Android 11; SM-A125U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Array.some 10278.7 Ops/sec
Array.filter 1150.3 Ops/sec
Array.indexOf 25579.9 Ops/sec
Array.includes 233466.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes