Run details:
Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android 7.0
Mobile
4 years ago
Test name Executions per second
For loop 618489.0 Ops/sec
While loop 369286.5 Ops/sec
Tests:
  • For loop

  • While loop