Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2824.0 Safari/537.36
Chrome 54
Windows
Other
8 years ago
Test name Executions per second
forEach (Native) 3725.8 Ops/sec
for (Native) 3961.4 Ops/sec
each (jQuery) 3859.0 Ops/sec
For of (ES6) 3368.8 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)