How do I solve “Prevent Object Mutation” in Javascript please help me out!
Please provide a link to the challenge and show us the code that you have tried. In the future, the Get Help -> Ask for Help
button will do that for you.
You can try spread operator: let obj2 = {...obj1};
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.