Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Using Object.assign with into empty object |
Test name | Executions per second |
---|---|
Using the spread operator | 8274770.0 Ops/sec |
Using Object.assign | 18503360.0 Ops/sec |
Using Object.assign with into empty object | 11464140.0 Ops/sec |