Shallow and Deep Copying in JS
There is no any funda of deep or shallow copy applicable for the primitive data types as they are immutable in javascript .
Source
Deep Copy and Shallow Copy Concept is applicable only for reference variable .
Shallow Copy
Shallow copy is also ide...
jsdev195.hashnode.dev2 min read