Question d’entretien chez Celigo

How to deep clone an object?

Réponse à la question d'entretien

Utilisateur anonyme

28 avr. 2022

My answer was JSON.parse(JSON.stringify(obj));. There is another method can be done using recursive function.