Run details:
Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Chrome 70
Windows 8.1
Desktop
5 years ago
Test name Executions per second
For Loop 3789.3 Ops/sec
For-of 4797.1 Ops/sec
forEach 523.4 Ops/sec
While Loop 5123.9 Ops/sec
reduce 1042.3 Ops/sec
Tests:
  • For Loop

  • For-of

  • forEach

  • While Loop

  • reduce


;