Run details:
Mozilla/5.0 (Linux; arm_64; Android 9; SM-A505FM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 YaBrowser/19.12.1.121.00 Mobile Safari/537.36
Yandex Browser 19
Android
Mobile
4 years ago
Test name Executions per second
for 27074.3 Ops/sec
foreach 1017921.4 Ops/sec
some 995051.9 Ops/sec
for..of 43649.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;