Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Linux
Desktop
one year ago
Test name Executions per second
for-loop (push) 5617.7 Ops/sec
for-loop (rest params) 777.2 Ops/sec
Array.prototype.map() 13194.1 Ops/sec
Tests:
  • for-loop (push)

  • for-loop (rest params)

  • Array.prototype.map()