Shallow Copy in JavaScript: Assignment vs Spread Operator ...

Shallow Copy in JavaScript: Assignment vs Spread Operator ...