Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SM-P600) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Safari/537.36
Chrome 71
Android 5.1.1
Desktop
5 years ago
Test name Executions per second
Array.from 12800.0 Ops/sec
Spread 35676.2 Ops/sec
Script Preparation code:
Tests:
  • Array.from

  • Spread