Pregunta de entrevista de Celigo

How to deep clone an object?

Respuesta de la entrevista

Anónimo

28 abr 2022

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