Understanding Immutability in JavaScript

Veröffentlicht am: 09 January 2024
auf dem Kanal: Deborah Kurata
5,497
388

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


Auf dieser Seite können Sie das Online-Video Understanding Immutability in JavaScript mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Deborah Kurata 09 January 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,497 Mal angesehen und es wurde von 388 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!