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 | 12061515.0 Ops/sec |
Assigning directly | 12433881.0 Ops/sec |