Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Using Object.assign for new object |
Test name | Executions per second |
---|---|
Using the spread operator | 3138295.0 Ops/sec |
Using Object.assign | 7437841.0 Ops/sec |
Using Object.assign for new object | 6722897.0 Ops/sec |