Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-J337A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Mobile Safari/537.36
Chrome Mobile 88
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
Array.some 1195.6 Ops/sec
Array.filter 725.4 Ops/sec
Array.indexOf 13101.1 Ops/sec
Array.includes 16506.0 Ops/sec
Array.find 1183.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find