Run details:
Mozilla/5.0 (X11; CrOS x86_64 12371.75.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.105 Safari/537.36
Chrome 77
Chrome OS 12371.75.0
Desktop
5 years ago
Test name Executions per second
for of 411.9 Ops/sec
forEach 495.0 Ops/sec
Script Preparation code:
Tests:
  • for of

  • forEach


;