Pergunta de entrevista da empresa Celigo

How to deep clone an object?

Resposta da entrevista

Sigiloso

28 de abr. de 2022

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