Run details:
Mozilla/5.0 (Linux; Android 10; moto g(8) plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
for of 19531.2 Ops/sec
forEach 2822.2 Ops/sec
reduce 2885.6 Ops/sec
for i 195.3 Ops/sec
Script Preparation code:
Tests:
  • for of

  • forEach

  • reduce

  • for i