Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 YaBrowser/18.9.0.3409 Yowser/2.5 Safari/537.36
Yandex Browser 18
Windows 8.1
Desktop
6 years ago
Test name Executions per second
for 6297419.5 Ops/sec
for in 5866097.5 Ops/sec
for of 6212551.5 Ops/sec
forEach 3036019.5 Ops/sec
map 3065938.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • for in

  • for of

  • forEach

  • map


;