Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/78.0.3904.108 Chrome/78.0.3904.108 Safari/537.36
Chromium 78
Ubuntu
Desktop
5 years ago
Test name Executions per second
Array.some 18597.9 Ops/sec
Array.filter 5640.6 Ops/sec
Array.indexOf 65670.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf