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
4 days ago
Test name Executions per second
spread+toReversed+join 1068.2 Ops/sec
Array.from+toReversed+join 1141.3 Ops/sec
toReversed.call+join 341.2 Ops/sec
backwards function* 407.8 Ops/sec
Array.of 421.3 Ops/sec
Array 474.7 Ops/sec
split 1328.8 Ops/sec
Script Preparation code:
Tests:
  • spread+toReversed+join

  • Array.from+toReversed+join

  • toReversed.call+join

  • backwards function*

  • Array.of

  • Array

  • split