Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Windows
Desktop
2 years ago
Test name Executions per second
slice 2505350.0 Ops/sec
spread operator 1389089.2 Ops/sec
push apply into empty array 2396258.5 Ops/sec
Array.from 1202554.4 Ops/sec
Object.values 1647382.2 Ops/sec
Script Preparation code:
Tests:
  • slice

  • spread operator

  • push apply into empty array

  • Array.from

  • Object.values


;