Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.45 Safari/537.36 Edg/99.0.1150.25
Chrome 99
Linux
Desktop
2 years ago
Test name Executions per second
Foreach 57612.2 Ops/sec
For-in 25193.8 Ops/sec
For-of 55989.2 Ops/sec
For 20584.2 Ops/sec
Script Preparation code:
Tests:
  • Foreach

  • For-in

  • For-of

  • For