Immutability in JavaScript

preview_player
Показать описание
This video explains the difference between Mutable and Immutable in JavaScript and how this is connected to:
- const vs let
- primitives vs objects
- Object freezing and sealing
- Object chaining
- Proxies
- new upcoming JavaScript DataTypes

Videos referenced during tutorial:
Object Freeze and Seal:

Shallow vs Deep copy:

Chaining Methods:
Рекомендации по теме
Комментарии
Автор

Thank you Mr Steve for the detailed explanation. Waiting for the next video.

rajesht
Автор

As usual, great tutorial. You are my visual/video documentation, reading documentation can be tricky. Thank!

tochimclaren
Автор

These Are the basics, very well explained and in detailed. 👍

Sarmadfarhankhan
Автор

Thank you, amazing content and explanation as usual!

Also wanted to add that I really benefited from your pub-sub pattern tutorial, and understanding it helped so much with learning Redux. Plus I also got asked about it in job interviews (along with immutability in JS).

I know you have a long list of topics you want to cover, I just hope more design patterns are on it as well, just throwing it out there. 🙂

Thanks, professor!

nevenkosovec
Автор

that makes much more sense now. Thx, amazing content as usual :)

oah
Автор

Another great video, Steve! Thanks!

Question: Which video did you provide a suggestion for how to isolate code to prevent conflicts? I remember a variable called APP or something. Do you remember? Thanks!

thatsisjustcrazy
Автор

Thank you, professor, quality contest as always.

I have one question regarding those new Data Types. Where do you get to see the proposed changes? Is there any documentation for it like we've RFCs for network protocols?

persiansayed
Автор

Thank you for your explanation, cleared a lot of things i was struggling with!
A question tho, as primitives are just values, that we can't change. In javascript, let's say i create a let number = 5, if i change it like number = "five", would javascript create a new variable with a string primitive type variable instead and eliminate the old one?

ivaldirbatalha
Автор

Could you please explain the concept regarding value types being immutable a bit more. Based on the explanation it looked like a type is immutable when its contents cannot be changed. However for e.g. if we have an int we can change its value from 5 to 6 or any other number. Then how come its immutable?

benralph
Автор

Great video 😊
Also please make tutorial on angular material buttons with ripple effect with Vanilla JS

martyrdm
Автор

14:49 the summary of the lecture if anyone doesn't have the time.

prince
Автор

a question . "use strict" for me doesn't work as you said it doesn't cause error . is it because of running codes in browser and in node it gives error or i am wrongdoing?
tnx for all content generally🙂

hamidRaven
Автор

Another hidden lesson - never set your microphone on your desk when creating tutorial videos. ;)

DanielBrownsan