Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Safari Line/10.14.0
Mobile Safari 13
iOS 13.6.1
Mobile
4 years ago
Test name Executions per second
for 100213.0 Ops/sec
foreach 413656.8 Ops/sec
some 409210.6 Ops/sec
for..of 105365.1 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;