Run details:
Mozilla/5.0 (Linux; Android 10; SM-N960W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
indexOf 15274.5 Ops/sec
map with forEach 703.6 Ops/sec
map with loop 745.4 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • map with forEach

  • map with loop


;