Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 YaBrowser/18.9.1.954 Yowser/2.5 Safari/537.36
Yandex Browser 18
Windows
Desktop
6 years ago
Test name Executions per second
forEach 1346.4 Ops/sec
for...of 7297.5 Ops/sec
for 997.4 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • for...of

  • for


;