Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/101.0.4951.61 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 894147.9 Ops/sec
Using Object.assign 2407933.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;