Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.23 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
Array.from 14589.2 Ops/sec
new Array fill 350140.7 Ops/sec
Spread 431817.3 Ops/sec
Tests:
  • Array.from

  • new Array fill

  • Spread