Run details:
Mozilla/5.0 (Linux; Android 11; M2004J19C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.50 Mobile Safari/537.36
Chrome Mobile 95
Android
Mobile
3 years ago
Test name Executions per second
Array.prototype.find 360.9 Ops/sec
Array.prototype.findIndex 333.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.find

  • Array.prototype.findIndex