Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Using Native assignment. |
Test name | Executions per second |
---|---|
Using the spread operator | 2381783.0 Ops/sec |
Using Object.assign | 3596642.0 Ops/sec |
Using Native assignment. | 352089000.0 Ops/sec |