Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
slice 22423512.0 Ops/sec
spread operator 18179174.0 Ops/sec
concat into empty array 13590552.0 Ops/sec
Array.from 5541454.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • spread operator

  • concat into empty array

  • Array.from