JavaScript | JavaScript Objects | Question 1

Last Updated :
Discuss
Comments

Which of the following creates a deep copy of an object?

JSON.stringify() and JSON.parse()

Object.assign()

Object.create()

Object.freeze()

Share your thoughts in the comments