nasser Publié le 18/03/2021 (12:10) GMT

I don't know well but seems here have a good explanation of how you could do it

When reading, the one you used is the fast cloning, take a look at here (the third one maybe) : https://stackoverflow.com/a/122704

There is also this article: https://www.samanthaming.com/tidbits/70-3-ways-to-clone-objects/

And this one from MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign

Commentaire issue de ce Post

Veuillez-vous connecter poster un commentaire
Réaliser un projet

🌍 Travaillez avec des experts basés en Afrique


💵 Tarifs abordables et flexibles

🔍 Experts certifiés

🌟 Assistance personnalisée

🤝 Collaboration exceptionnelle