Test case name | Result |
---|---|
Using the spread operator | |
Using Object.assign | |
Multiple statements |
Test name | Executions per second |
---|---|
Using the spread operator | 2915309.0 Ops/sec |
Using Object.assign | 6891461.0 Ops/sec |
Multiple statements | 34334990.0 Ops/sec |