Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52
Windows 8.1
Other
8 years ago
Test name Executions per second
forEach (Native) 4043.8 Ops/sec
for (Native) 4002.7 Ops/sec
each (jQuery) 4013.8 Ops/sec
For of (ES6) 3596.0 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)