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 25229138.0 Ops/sec
for in 243841.0 Ops/sec
for 20544572.0 Ops/sec
forEach 11275795.0 Ops/sec
Script Preparation code:
Tests:
  • map

  • for in

  • for

  • forEach