Run details:
Mozilla/5.0 (Windows NT 6.2; Win64; x64) Gecko/20100101 Firefox/89.0
Firefox 89
Windows 8
Desktop
2 years ago
Test name Executions per second
Using the spread operator 986321.1 Ops/sec
Using Object.assign 2464014.8 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;