Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
Chrome 101
Windows
Desktop
2 years ago
Test name Executions per second
split reverse join 63.6 Ops/sec
traditional for loop 223.6 Ops/sec
for of 163.2 Ops/sec
traditional for loop and join 51.8 Ops/sec
spread reverse join 52.3 Ops/sec
Script Preparation code:
Tests:
  • split reverse join

  • traditional for loop

  • for of

  • traditional for loop and join

  • spread reverse join