Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/601.7.8
Safari 9
Mac OS X 10.11.6
Other
8 years ago
Test name Executions per second
map 1046690.1 Ops/sec
for in 687785.2 Ops/sec
for 768339.8 Ops/sec
forEach 952947.6 Ops/sec
Script Preparation code:
Tests:
  • map

  • for in

  • for

  • forEach


;