Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Windows
Other
8 years ago
Test name Executions per second
forEach (Native) 1761.4 Ops/sec
for (Native) 1587.2 Ops/sec
each (jQuery) 1611.5 Ops/sec
For of (ES6) 1730.8 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)