Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Chrome 59
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
for cached length 127.4 Ops/sec
forEach 409.1 Ops/sec
forEach cached function 411.3 Ops/sec
Script Preparation code:
Tests:
  • for cached length

  • forEach

  • forEach cached function


;