For of vs map

9 months ago
User agent: Mozilla/5.0 (Android 4.4.2; Tablet; rv:68.0) Gecko/68.0 Firefox/68.0
Test name Executions per second
for of 3.1 Ops/sec
map 3.2 Ops/sec
Script Preparation code:
Tests:
  • for of

  • map

Open this result on MeasureThat.net