Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Windows 8.1
Other
2025 years ago
Test name Executions per second
for loop 1349.7 Ops/sec
forEach 91548.8 Ops/sec
Map 39775.9 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • forEach

  • Map


;