Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 YaBrowser/18.9.1.954 Yowser/2.5 Safari/537.36
Yandex Browser 18
Windows 7
Desktop
6 years ago
Test name Executions per second
Array.some 72349.0 Ops/sec
Array.filter 29016.1 Ops/sec
Array.indexOf 140950.5 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf