Value Types and Reference Types in JavaScript

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

Are you confused about value types and reference types? This tutorial makes it super simple for you.

You can find all my courses here:

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

x = x.toUpperCase() is the same as x.title = x.title.toUpperCase(). Both are mutable when we reassign a value.

trappedcat
Автор

thanks you sir its very helpfull...and first time i am commenting on any video.great work.

aryashacharya_world
Автор

Great. Thanks. Is value types and primitive types are same?

javascript_developer
Автор

What a great video. I understand it now

keifer
Автор

let x = 'apple'
x = x.toUpperCase()

x = 'APPLE '

That's essentially what you did for the object.

AD-wgik
Автор

hello Mr. Mosh, are you planing to do any pluralsight course soon? thanks

UMARJAN
Автор

Would anybody know what "text editor/console" Mosh uses? It seems useful, having results calculated and everything but: what does he use? Thank you!

pedroagma
Автор

However, if we compare x.title === y.title, it will return true;

sreenivasulugattu
Автор

please, make a tutorial of Firebase! many thanks

AlvaroDoune