Run details:
Mozilla/5.0 (Linux; Android 12; Redmi K30 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Array.find 811.4 Ops/sec
Array.indexOf 13622.0 Ops/sec
Script Preparation code:
Tests:
  • Array.find

  • Array.indexOf