Run details:
Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36
Chrome 113
Chrome OS 13597.84.0
Desktop
one year ago
Test name Executions per second
Using the spread operator 340805.4 Ops/sec
Using Object.assign 1117715.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;