Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/74.0.3729.121 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 74
iOS 12.2
Mobile
5 years ago
Test name Executions per second
Object.assign 464748.8 Ops/sec
spread operator 200907.7 Ops/sec
Tests:
  • Object.assign

  • spread operator