Run details:
Mozilla/5.0 (Linux; Android 4.4.4; SGP511) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/58.4.2878.56737
Opera 58
Android 4.4.4
Desktop
2 years ago
Test name Executions per second
Array.some 2422.3 Ops/sec
Array.filter 265.8 Ops/sec
Array.indexOf 18225.9 Ops/sec
Array.includes 78988.4 Ops/sec
Array.find 2020.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;