Run details:
Mozilla/5.0 (X11; CrOS x86_64 13597.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.186 Safari/537.36
Chrome 88
Chrome OS 13597.94.0
Desktop
3 years ago
Test name Executions per second
Array.prototype.indexOf 19146.1 Ops/sec
Array.prototype.findIndex 326.4 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.indexOf

  • Array.prototype.findIndex


;