Run details:
Mozilla/5.0 (Linux; Android 9; Nokia 8 Sirocco) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
Chrome Mobile 73
Android
Mobile
5 years ago
Test name Executions per second
Object.assign 1730213.4 Ops/sec
spread operator 970380.4 Ops/sec
Object.assign with empty object to start with 1610576.0 Ops/sec
Tests:
  • Object.assign

  • spread operator

  • Object.assign with empty object to start with


;