Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
Array.prototype.find 81.8 Ops/sec
Array.prototype.findIndex 83.1 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.find

  • Array.prototype.findIndex