Understanding JavaScript Object References : A Visual Explanation 🧠

Опубликовано: 20 Октябрь 2024
на канале: tapaScript by Tapas Adhikary
4,764
348

Learn to tackle JavaScript Interview Questions related to Objects, References, Cloning, Copying, Pass by value, and Pass by reference. This video visually represents how objects get stored and work in JavaScript.

Many web developers misunderstand how value and references work for primitive and object values in JavaScript. Thus, there will be bugs and unnecessary code written to fix issues. Learn the fundamental concepts from this video to stay ahead of the curve.

Why waiting? Let's GO 🚀

👋 Help Me To Reach My Subscriber Goal

|||||.......... 14% ............... 14.7K/100K

Please LIKE/SHARE/SUBSCRIBE to the channel to show your support. Thanks! 🫶

Timecodes
0:00 - What Can You Expect
01:02 - JavaScript Data Types
02:10 - Value vs Reference
04:24 - Pass By Value In JavaScript
07:45 - Pass By Reference In JavaScript
14:56 - Freeing Up Memory
15:50 - Object Copy vs Clone
17:44 - How To Clone Object in JavaScript
20:10 - The Problem of Shallow Copy
22:52 - Object Deep Cloning
24:24 - End Note and Next


Join tapaScript Discord Server
  / discord  

Special Links:
Learn more about the structuredClone API: https://developer.mozilla.org/en-US/d...

🤝 My Links:
Blog: https://blog.greenroots.info/

Follow on X(Twitter):   / tapasadhikary  

Connect on LinkedIn:   / tapasadhikary  

Follow My Work on GitHub: https://github.com/atapas

Follow on Facebook:   / tapasadhi  

👋 Like my work? Thank You. You can support/sponsor me from here:

Sponsor Me: https://github.com/sponsors/atapas
Sponsor my Blog: https://blog.greenroots.info/sponsor
https://mercury.streamelements.com/ti...


About Me:
Tapas Adhikary is an Educator at tapaScript, Tech enthusiast, Writer, YouTuber, and Open Source projects maintainer/contributor. He is a full-stack developer who has vast experience in building SaaS solutions. He is the founder of the ReactPlay platform, which is driven by open-source projects and a fast-growing community.


You can find more about him at https://tapasadhikary.com.

#javascript
#javascripttutorial
#javascriptfundamentals
#javascriptinterview
#javascript_tutorial
#js