NodeList for...of vs [].map.call

one month ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Test name Executions per second
for...of 88040.3 Ops/sec
[].map.call 84000.3 Ops/sec
HTML Preparation code:
Tests:
  • for...of

  • [].map.call

Open this result on MeasureThat.net