Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Windows
Desktop
5 years ago
Test name Executions per second
forEach (Native) 10017.0 Ops/sec
for (Native) 10233.8 Ops/sec
each (jQuery) 9477.5 Ops/sec
For of (ES6) 10168.6 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)