Run details:
Mozilla/5.0 (Macintosh, Intel Mac OS X 10_11_4) AppleWebKit/602.1.28+ (KHTML, like Gecko) Version/9.1 Safari/601.5.17
Safari 9
Mac OS X 10.11.4
Desktop
8 months ago
Test name Executions per second
Using the spread operator 336072.7 Ops/sec
Using Object.assign 186456.7 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;