Shallow/Deep copying Arrays and Objects in JavaScript
Every beginner JavaScript developer at some point during his language basics studies is met with a task of copying an array or an object into another array or an object. As easy as it may sound, it does not always lead to the expected result, which l...
cat-logic.hashnode.dev4 min read