Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Firefox 47
Windows
Other
8 years ago
Test name Executions per second
map 31539770.0 Ops/sec
for in 415922.9 Ops/sec
for 25056264.0 Ops/sec
forEach 23398152.0 Ops/sec
Script Preparation code:
Tests:
  • map

  • for in

  • for

  • forEach