Run details:
Mozilla/5.0 (Linux; Android 6.0; BTV-DL09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Android 6.0
Desktop
2 years ago
Test name Executions per second
Array.find 358.7 Ops/sec
Array.indexOf 17149.8 Ops/sec
Script Preparation code:
Tests:
  • Array.find

  • Array.indexOf