Run details:
Mozilla/5.0 (Linux; Android 10; SM-M315F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.86 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
Array.some 25684.1 Ops/sec
Array.filter 5821.1 Ops/sec
Array.indexOf 46165.6 Ops/sec
Array.includes 187578.5 Ops/sec
Array.find 26486.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;