Shallow Copy & Deep Copy in Javascript
Jun 14, 2024 · 2 min read · Tom and Jerry are best friends. They have a big math exam coming up. Tom studied hard and is ready, but Jerry didn't study and decides to copy Tom's answers. Shallow Copy: A Quick Cheat Scenario: During the exam,Jerry copies Tom’s answers and also ...
Join discussion
