Run details:
Mozilla/5.0 (Linux; Android 10; H8266) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
for of 44376.0 Ops/sec
forEach 6863.3 Ops/sec
reduce 10352.5 Ops/sec
for i 274.4 Ops/sec
Script Preparation code:
Tests:
  • for of

  • forEach

  • reduce

  • for i