Run details:
Mozilla/5.0 (Linux; Android 10; Redmi K30 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
Array.prototype.find 541.6 Ops/sec
Array.prototype.findIndex 514.6 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.find

  • Array.prototype.findIndex