Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Mac OS X 10.15
Desktop
7 months ago
Test name Executions per second
Array.find 2681.7 Ops/sec
Array.indexOf 13423.8 Ops/sec
Script Preparation code:
Tests:
  • Array.find

  • Array.indexOf