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 1963.5 Ops/sec
Array.filter 298.2 Ops/sec
Array.indexOf 19396.2 Ops/sec
Array.includes 73468.7 Ops/sec
Array.find 3689.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;