Run details:
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_Z01KD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36
Chrome Mobile 88
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
Array.some 2899.1 Ops/sec
Array.filter 1044.1 Ops/sec
Array.indexOf 23658.0 Ops/sec
Array.includes 244790.2 Ops/sec
Array.find 9791.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find