Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Firefox 38
Windows 7
Desktop
4 years ago
Test name Executions per second
jQuery.each 0.0 Ops/sec
Array.prototype.forEach 8737559.0 Ops/sec
traditional for loop 5088496.5 Ops/sec
Script Preparation code:
Tests:
  • jQuery.each

  • Array.prototype.forEach

  • traditional for loop


;