Run details:
Mozilla/5.0 (Linux; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android 6.0.1
Mobile
2 years ago
Test name Executions per second
Object assign 294014.9 Ops/sec
Spread operator 941360.9 Ops/sec
Manually 556224.8 Ops/sec
Script Preparation code:
Tests:
  • Object assign

  • Spread operator

  • Manually