DEV Community

Discussion on: 10 Interview Questions for Javascript Developer

Collapse
 
voralagas profile image
Pravin Poudel • Edited

Thanks for that its -3. It's a typo mistake. No!! Object. assign() is shallow copying for an abject with object inside. It won't be able to copy object inside an object rather it copy the reference of an inside object.