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 27434.5 Ops/sec
foreach 1077224.4 Ops/sec
some 1058911.4 Ops/sec
for..of 44474.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;