Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/121.0.6167.171 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 121
iOS 17.2
Mobile
9 months ago
Test name Executions per second
Using the spread operator 21212350.0 Ops/sec
Using Object.assign 14485625.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;