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 634166.0 Ops/sec
with mutation 2555983.0 Ops/sec
with object assign 118028.6 Ops/sec
Tests:
  • with spread operator

  • with mutation

  • with object assign