Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78
Windows 7
Desktop
5 years ago
Test name Executions per second
with spread operator 282914.4 Ops/sec
with mutation 1484171.1 Ops/sec
with object assign 48203.1 Ops/sec
Tests:
  • with spread operator

  • with mutation

  • with object assign