Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Assigning directly |
Test name | Executions per second |
---|---|
Using the spread operator | 33848760.0 Ops/sec |
Using Object.assign | 12061520.0 Ops/sec |
Assigning directly | 12433880.0 Ops/sec |