Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 OPR/83.0.4254.27
Opera 83
Linux
Desktop
2 years ago
Test name Executions per second
Array.find 1202.7 Ops/sec
Array.indexOf 30186.4 Ops/sec
Script Preparation code:
Tests:
  • Array.find

  • Array.indexOf