Topics
Published on April 10, 2017 by Mindspace

One of the most common error sources: Not understanding what the difference between reference and primitive values is. This video will clear up the confusion.

Need more JavaScript Training?
Consider my “Accelerated JavaScript Training” course, available for $15: www.udemy.com/javascript-bootcamp-2016/?couponCode=YOUTUBE_PROMO
Want to take the next step? Dive into ES6 for only $14: www.udemy.com/es6-bootcamp-next-generation-javascript/?couponCode=YOUTUBE_PROMOS

Stack vs Heap: www.quora.com/What-is-the-difference-between-the-stack-and-the-heap
Object.assign(): developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
Slice(): developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
Lodash Clone Deep: lodash.com/docs/#cloneDeep

Want to become a frontend developer? Consider diving into some of my courses on Udemy:
Ionic 2 – The Practical Guide for only $15: www.udemy.com/ionic-2-the-practical-guide-to-building-ios-android-apps/?couponCode=GETINTOIT
Angular – The Complete Guide for only $15, too: www.udemy.com/the-complete-guide-to-angular-2/?couponCode=YOUTUBE_2
Vue.js 2 – The Complete Guide for only $15: www.udemy.com/vuejs-2-the-complete-guide/?couponCode=YOUTUBE_VUE

Want to get some 1-on-1 coaching with experienced developers? Have a look at Savvy: www.savvy.is/?ref=9fee2b (Discount Code 9fee2b)

You can follow me on Twitter (@maxedapps), Facebook (www.facebook.com/mindspacechannel/) or visit my Website (mschwarzmueller.com).

See you in the videos!

Leave a Reply

80 Comments on "JavaScript – Reference vs Primitive Values/ Types"

Notify of
avatar

Pushpender Rautela
Guest
Pushpender Rautela
2 days 11 hours ago

Recently started angular. Getting issues just because of object and arrays are getting changed. you saved me. thanks for the great tutorial.

Mindspace
Guest
Mindspace
2 days 10 hours ago

Awesome to hear that, thanks for your great review!

Paulo Santos
Guest
Paulo Santos
6 days 8 hours ago

Thnks a lot, this video is awesome explanation! Keep doing more. If you could do more ionic videos that will be awesome.

Mindspace
Guest
Mindspace
5 days 18 hours ago

I'll try my best, thanks for your great feedback!

Iyyappan Subramani
Guest
Iyyappan Subramani
7 days 13 hours ago

Awesome video..I always like ur video.

Mindspace
Guest
Mindspace
6 days 17 hours ago

Thanks so much, I'm glad you're liking it!

Preetam Jakhmola
Guest
Preetam Jakhmola
13 days 7 hours ago

you man is awesome.

Mindspace
Guest
Mindspace
12 days 18 hours ago

Thanks so much for your amazing feedback!

Gabriel Hernández
Guest
Gabriel Hernández
13 days 22 hours ago

Hey Max!, really nice udemy courses that you have… greetings from Chile!

Mindspace
Guest
Mindspace
13 days 19 hours ago

Really happy to hear you're liking them Gabriel – thanks for your amazing feedback!

Sunil Patel
Guest
Sunil Patel
14 days 10 hours ago

Somethime JSON.stringfy and JSON.parse also works for cloning object

Muhammad Haroon
Guest
Muhammad Haroon
15 days 13 hours ago

Hi Max . can we chat private ?

justin lazaro
Guest
justin lazaro
17 days 1 hour ago

oh max 🙂

Ganesh
Guest
Ganesh
17 days 7 hours ago

I came across the same problem, glad you put the video at the right time.

Mindspace
Guest
Mindspace
16 days 7 hours ago

Haha, awesome to hear my timing was right Ganesh 😀

FlexingRussia
Guest
FlexingRussia
18 days 5 hours ago

Hey Max! Hope you're well! Do you have any plan to update your existing Laravel course on Udemy or maybe make a new one on Udemy or in your Mindspace channel?

Mindspace
Guest
Mindspace
17 days 16 hours ago

I got plans to do so (either of the two) but no specific plans as of now … just the general idea of doing that

1 2 3 5
wpDiscuz