Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/67.0.3396.87 Mobile/15F79 Safari/604.1
Chrome Mobile iOS 67
iOS 11.4
Mobile
6 years ago
Test name Executions per second
Using the spread operator 766103.1 Ops/sec
Using Object.assign 1758167.2 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;