Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52
Windows 7
Other
7 years ago
Test name Executions per second
for cached length 125.6 Ops/sec
forEach 425.4 Ops/sec
forEach cached function 423.2 Ops/sec
Script Preparation code:
Tests:
  • for cached length

  • forEach

  • forEach cached function


;