Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Overriding the first object |
Test name | Executions per second |
---|---|
Using the spread operator | 1738251.6 Ops/sec |
Using Object.assign | 4362666.0 Ops/sec |
Overriding the first object | 4301589.0 Ops/sec |