Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52
Mac OS X 10.11.1
Other
8 years ago
Test name Executions per second
forEach (Native) 2565.6 Ops/sec
for (Native) 2552.6 Ops/sec
each (jQuery) 2545.2 Ops/sec
For of (ES6) 2263.7 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)