Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Shallow Copy and Deep Copy - Advanced Javascript Tutorial

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of shallow and deep copying in this advanced JavaScript tutorial. Dive into the fundamental concepts of data types, value passing versus reference passing, and mutable versus immutable data. Learn how to create shallow copies, implement shallow freezing of objects, and perform deep copying. Understand the differences between pure and impure functions, and how they relate to data manipulation. Gain essential knowledge for working with complex data structures and writing more efficient, bug-free code. By the end of this comprehensive guide, master the techniques necessary for handling data immutability and references in JavaScript, crucial skills for developing robust and maintainable applications.

Syllabus

Intro
Javascript data types review
passing values vs passing references
mutable vs immutable data
an impure function
how to make a shallow copy
how to shallow freeze an object
how to make a deep copy
a pure function
Review of concepts

Taught by

Dave Gray

Reviews

Start your review of Shallow Copy and Deep Copy - Advanced Javascript Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.