Shallow Copy and Deep Copy | Advanced Javascript Tutorial

preview_player
Показать описание

Learn the difference between a Shallow Copy and a Deep Copy in this Advanced Javascript Tutorial. We cover shallow copy vs deep copy, mutable vs immutable and passing values vs references. Pure functions need you to know this foundational knowledge.

Shallow Copy and Deep Copy | Advanced Javascript Tutorial

(00:00) Intro
(0:24) Javascript data types review
(1:03) passing values vs passing references
(3:05) mutable vs immutable data
(5:52) an impure function
(8:20) how to make a shallow copy
(14:17) how to shallow freeze an object
(16:04) how to make a deep copy
(21:43) a pure function
(23:45) Review of concepts

📚 References:

✅ Follow Me:

Was this tutorial about Shallow Copy and Deep Copy in Javascript helpful? If so, please share. Let me know your thoughts in the comments.

#shallow #deep #copy
Рекомендации по теме
Комментарии
Автор

Why these guy didn't get views please support him we love davegray

prudhvichinnam
Автор

Dave, you are an amazing teacher. I have built an entire ePOS system on my own while studying how to program. Your tutorials on Node and express helped me a lot on building my backend server.

Your teaching are on point and easy to understand. I’m buying you a coffee. Thank you brother

rockfox
Автор

Dave, you shared so much important information here! Thank you so much!!! This is essential to pass any technical interview and I'm super thankful for this video!

aileenchan
Автор

I had been struggling with some problems in my project literally for days, but thanks to this video, I managed to find a solution. Thank you sooo much for setting me free! 😂

KentaroxKondo
Автор

Your videos are the ones that take the longest to understand, but also the ones that are the most informative.

nagaistark
Автор

For many years I understood shallow and deep copy concept very wrongly. Damn!
Thank you for this video!

devworks
Автор

Great video again. This is the best explanation of shallow vs deep copy in javascript. Thanks for sharing your knowledge!

belafekete
Автор

Great video. Everything was thoroughly explained and covered completely. Thanks for sharing your knowledge!

OliverRse
Автор

Dave, you have an exceptional knowledge in JavaScript. Much appreciated.Thanks

letshope
Автор

Man this is one of my favorite js channels

moeibrahim
Автор

I have watched a lot tuts on this thing .but the way u explaining every details is boosting my love for JS. Thanks a lot .

dardaC
Автор

You're a great teacher. You know so well how to convey the intended educational message about an advanced topic in accumulating small digestible chunks, helping one to have a solid understanding why things work this way, not just how.

matinsasan
Автор

This is the best explaination of shallow vs deep copy in javascript. Keep it up Dave.
You are a great teacher👍👍

niranjanpandit
Автор

very informative David! thanks for sharing the content like this

imakshith
Автор

Thanks Dave. Your tutorials are excellent. However, I want to suggest that you demarcate your output when you log it out on the console. So, it would be easy for someone to know what section of the code is being displayed at what section on the console. Outputs on the console can be confusing and diifficult to comphrehend without demarcation.

judeleon
Автор

Dave Thanks for making such good tutorials, none of the youtube channel have such precise content... :)

anshumanpati
Автор

thank you, the video was simple but a little confusing with all the code in single file and the console outputs but very valuable :)

a_maxed_out_handle_of__chars
Автор

Bravo!!! Finally explained understandable and clear.

tomislavzivkovic
Автор

Wow I thought I was past this point but I learned aot and I like how you sum things up in the end.

zal
Автор

Thanks Dave, very important information i was unware of. Thanks again

vjmathew