Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Mac OS X 10.15
Desktop
11 months ago
Test name Executions per second
Array.find 1857.7 Ops/sec
Array.indexOf 10692.3 Ops/sec
Script Preparation code:
Tests:
  • Array.find

  • Array.indexOf