Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.1.2 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7
Safari 9
Mac OS X 10.11.6
Other
8 years ago
Test name Executions per second
forEach (Native) 18982.8 Ops/sec
for (Native) 21636.7 Ops/sec
each (jQuery) 18306.9 Ops/sec
For of (ES6) 21769.1 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)


;