VJThanks for the comment Leon Avancini .Reply·Article·Jun 16, 2024·Understanding Shallow Copy vs Deep Copy in JavaScript