Run details:
Mozilla/5.0 (Linux; Android 10; RMX1911) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
forEach (Native) 4132.7 Ops/sec
for (Native) 4163.8 Ops/sec
each (jQuery) 3511.4 Ops/sec
For of (ES6) 3841.7 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)