Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Chrome OS 14541.0.0
Desktop
2 days ago
Test name Executions per second
spread+toReversed+join 1117.5 Ops/sec
Array.from+toReversed+join 1149.9 Ops/sec
toReversed.call+join 348.8 Ops/sec
backwards function* 453.6 Ops/sec
Array.of 426.0 Ops/sec
Array 486.2 Ops/sec
Script Preparation code:
Tests:
  • spread+toReversed+join

  • Array.from+toReversed+join

  • toReversed.call+join

  • backwards function*

  • Array.of

  • Array