Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Chrome 73
Mac OS X 10.13.2
Desktop
5 years ago
Test name Executions per second
with spread operator 685667.9 Ops/sec
with mutation 2605545.0 Ops/sec
with object assign 118508.4 Ops/sec
Tests:
  • with spread operator

  • with mutation

  • with object assign