Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Windows
Other
2025 years ago
Test name Executions per second
forEach (Native) 4855.7 Ops/sec
for (Native) 4599.8 Ops/sec
each (jQuery) 4000.8 Ops/sec
For of (ES6) 4102.2 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)