Run details:
Mozilla/5.0 (Linux; Android 8.0.0; LG-H990) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
reduce 23075.3 Ops/sec
for loop 0.0 Ops/sec
forEach 151284.4 Ops/sec
for of loop 271514.7 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach

  • for of loop