Перейти к содержимому

Understanding Immutability in JavaScript

Deborah Kurata

0:00 / 0:00

Understanding Immutability in JavaScript

9 221 просмотр · 2 года назад
Deborah Kurata
24,3 тыс. подписчиков
9 221 просмотр · 2 года назад
We often hear the terms: immutable and immutability. What do they mean and, as developers, why should we care? In this video, we look at immutability of primitives, arrays, and objects with JavaScript examples. And we enumerate why immutability is important for programming. Links JavaScript Code: https://stackblitz.com/edit/immutabil... Content 00:00 Understanding Immutability in JavaScript 00:43 Primitives in JavaScript: Naturally Immutable 02:10 JavaScript Array are Mutable 03:55 Embracing Immutability with Arrays 05:52 Mutable Nature of JavaScript Objects 07:28 Immutability with Objects 08:15 Why Is Immutability Important? 09:00 Wrap up ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 😊About Me Hey! I'm Deborah Kurata I'm a software developer and YouTube content creator. I speak at conferences such as VS Live and ng-conf. I write articles for freeCodeCamp. And I'm a Pluralsight author with courses in the top 10 most popular (out of 7,000+) over the past 5 years. For my work in support of software developers, I've been recognized with the Microsoft Most Valuable Professional (MVP) award, and I'm a Google Developer Expert (GDE). Contact me on Twitter (X):   / deborahkurata   Find my Pluralsight courses: https://www.pluralsight.com/profile/a... Access my freeCodeCamp articles: https://www.freecodecamp.org/news/aut... View my YouTube content:    / @deborah_kurata   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ #javascript #immutability #mutability #immutabilityinJavaScript