Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Windows 7
Desktop
5 years ago
Test name Executions per second
forEach (Native) 3786.6 Ops/sec
for (Native) 3891.4 Ops/sec
each (jQuery) 1814.8 Ops/sec
For of (ES6) 2933.0 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)