Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_7_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.7.8
Mobile
4 months ago
Test name Executions per second
forEach 11355.3 Ops/sec
for..of 11605.9 Ops/sec
Script Preparation code:
Tests:
  • forEach

  • for..of