thanks sis💪🏻💯 i was struggling to understand deep vs shallow copy and watched many yt videos but you made it easy for me and now i understand it you're a lifesaver fr fr👌✨
Thank You So much Mam. After witching other youtubers video I don't understand what is Shallow copy & Deep copy But Mam your video is so helpful me to understand the concept and all methods in Easy Way. Again Really Really Thank You!
Nicely explained..understand the concept well..just a confusion, Object.assign() is giving partial deep copy, JSON.stringify() also giving partial deep copy...and use of spread operator is giving complete deep copy...so my question is which method is giving shallow copy...is shallow copy same as just assigning one object to another object or something else?
Awesome Series :) (y) .. In this case if I want to update Country in copied Object ? I am trying to update in copiedvalue country value as 'US' (for example) , its creating a new key value with same pair .
i can able to do foe nested and simple objects FOR EX----- var obj = [{ x: 1 }, {y: 2}]; var deepCopy = _.cloneDeep(obj); // Changing orignal value obj[0].x = 10;
// Values after changing original value console.log("After changing original value");
console.log("Original value ", obj);
console.log("Deep Copy value ", deepCopy); OUTPUT Original value [ { x: 10 }, { y: 2 } ] Deep Copy value [ { x: 1 }, { y: 2 } ]
thanks sis💪🏻💯 i was struggling to understand deep vs shallow copy and watched many yt videos but you made it easy for me and now i understand it you're a lifesaver fr fr👌✨
Awesome explained each and every concept.... Thank you...
Your videos are really informative and we can understand the concepts very clearly. Please add videos on ngRx and cookies in angular
Thank you … 😀🙏
Thank You So much Mam.
After witching other youtubers video I don't understand what is Shallow copy & Deep copy
But Mam your video is so helpful me to understand the concept and all methods in Easy Way.
Again Really Really Thank You!
Best explanation ever thankyou😊
Damn girl!! Those videos are super helpful!!!! Can't thank you enough!!!
Glad it helped :)
very nice explanation execellent
Well this was a deep explanation for my shallow js knowledge. Great video thanks
nice explanation ❤❤
your explanation is excellent
Nice Explaination 👍.Good work👏.
Thank you 😊
Thank you,Clean and clear explanation
Thank you 😊
Awesome explanation mam
Thanks for this informative and easy to understand video..
thankyou mam for making my concept clear
Keep learning 😀
@@NishaSingla always mam
Good explanation.✌️
Thank you 😊
Nice voice. nice concept.
Thank you 😊
Awesome explanation , thank you so much
😊😊
Today we faced same issue in prob , but fixed it Bec of ur video
thank you, for clear explanation
Nicely explained..understand the concept well..just a confusion, Object.assign() is giving partial deep copy, JSON.stringify() also giving partial deep copy...and use of spread operator is giving complete deep copy...so my question is which method is giving shallow copy...is shallow copy same as just assigning one object to another object or something else?
referance data types like array and object have a by default shallow copy nature
When to use shallow copy and deep copy ? Can you explain about this difference?
Awesome Series :) (y)
..
In this case if I want to update Country in copied Object ?
I am trying to update in copiedvalue country value as 'US' (for example) , its creating a new key value with same pair .
This is crisp 🫡🫡
You are amazing
Thanks 🙏
@@NishaSingla can you list all the important topics for an angular interview from your experience
Thank you 🙏
😀👍🏻
how much javacsript we would learn to land a job as a frontend developer please help me its an emergency
fundamentals should be clear...and it all depend for which role you are going even as frontend developer
@@NishaSingla to app hi bata do konse topic front-end developer as a fresher padhe
Thanks.
You’re welcome 😀
5:26
Very well explained.
make video on json method
With the help of this JSON.parse(JSON.stringify(object)); you can easily achieve the deep copy
i can able to do foe nested and simple objects
FOR EX-----
var obj = [{ x: 1 }, {y: 2}];
var deepCopy = _.cloneDeep(obj);
// Changing orignal value
obj[0].x = 10;
// Values after changing original value
console.log("After changing original value");
console.log("Original value ", obj);
console.log("Deep Copy value ", deepCopy);
OUTPUT
Original value [ { x: 10 }, { y: 2 } ]
Deep Copy value [ { x: 1 }, { y: 2 } ]
Cool 😎👍🏻
Good but you are using loadsh methods for it, she did it by using inbuilt es6 features
Thank you ma'am 😊
😀😀