Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Ubuntu
Other
7 years ago
Test name Executions per second
indexOf 29664.4 Ops/sec
map with forEach 376.0 Ops/sec
map with loop 405.1 Ops/sec
Script Preparation code:
Tests:
  • indexOf

  • map with forEach

  • map with loop


;