Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15
Safari 11
Linux
Desktop
one year ago
Test name Executions per second
Using the spread operator 446061.5 Ops/sec
Using Object.assign 2005143.2 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;