Run details:
Mozilla/5.0 (iPad; CPU OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/119.0.6045.169 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 119
iOS 16.3
Tablet
one year ago
Test name Executions per second
for 51131.9 Ops/sec
foreach 236251.5 Ops/sec
some 241038.4 Ops/sec
for..of 69004.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;