Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
forEach (Native) 3853.9 Ops/sec
for (Native) 3880.1 Ops/sec
each (jQuery) 3611.2 Ops/sec
For of (ES6) 3417.5 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)