Understanding JavaScript Object References : A Visual Explanation 🧠

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • 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: developer.mozilla.org/en-US/d...
    🤝 My Links:
    - Blog: blog.greenroots.info/
    - Follow on X(Twitter): / tapasadhikary
    - Connect on LinkedIn: / tapasadhikary
    - Follow My Work on GitHub: github.com/atapas
    - Follow on Facebook: / tapasadhi
    👋 Like my work? Thank You. You can support/sponsor me from here:
    - Sponsor Me: github.com/sponsors/atapas
    - Sponsor my Blog: blog.greenroots.info/sponsor
    - mercury.streamelements.com/ti...
    About Me:
    Tapas Adhikary is an Educator at tapaScript, Tech enthusiast, Writer, TH-camr, 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 tapasadhikary.com.
    #javascript
    #javascripttutorial
    #javascriptfundamentals
    #javascriptinterview
    #javascript_tutorial
    #js

ความคิดเห็น • 65

  • @rahulpulagamofficial
    @rahulpulagamofficial หลายเดือนก่อน +1

    Man you’re great in teaching…. Hats off

    • @tapasadhikary
      @tapasadhikary  หลายเดือนก่อน

      Thanks a lot, so happy to get your comment.

  • @thevhejalltd8716
    @thevhejalltd8716 3 หลายเดือนก่อน +1

    It was a great experience

    • @tapasadhikary
      @tapasadhikary  3 หลายเดือนก่อน

      Thank you ❤️

  • @ProgrammerArif
    @ProgrammerArif 6 หลายเดือนก่อน +1

    আমার মনে হলে ২ মিনিটের মধ্যে ভিডিও শেষ হয়ে গেলো। একমুহূর্তের জন্য মনযোগ সরাতে পারিনি। এতো সহজবোধ্য ইংরেজি আমি আমার জীবনেও শুনিনি।
    আর অসাধারণ একটা টপিকস। এতো সহজভাবে যে কেউ বোঝাতে পারে তা আমার জানা ছিলো না। প্রিমেটিভ আর নন-প্রিটিভ আর জীবনেও ভুল হবে না। ধন্যবাদ 'তাপস দা' ❤️❤️❤️❤️❤️

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Most welcome ❤️❤️❤️

  • @user-yk3yt4vk9j
    @user-yk3yt4vk9j 5 หลายเดือนก่อน +1

    that's great. Love you Tapa from Pakistan

  • @prasenjitbasu6152
    @prasenjitbasu6152 6 หลายเดือนก่อน +3

    Please bring this type of videos in regular interval with much more advance topics of JavaScript. BTW superb visual explanation, eagerly waiting for this type of videos in the near future.

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน +1

      Thanks brother… yes the aim is to cover the entire object and prototype concepts in the same way. Expect more videos like this frequently.

  • @js-love
    @js-love 6 หลายเดือนก่อน +1

    Kudos for the efforts put in 🎉🎉

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Thank you ❤️

  • @asmartbajan
    @asmartbajan 3 หลายเดือนก่อน

    Outstanding stuff! Subscribed.

    • @tapasadhikary
      @tapasadhikary  3 หลายเดือนก่อน +1

      Wow, thank you 😊

  • @TheDesiMarketer
    @TheDesiMarketer 6 หลายเดือนก่อน +1

    Amazing. Looking forward for next javascript videos. Thank you!

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Coming… ❤️

  • @rashedkhanmenon799
    @rashedkhanmenon799 5 หลายเดือนก่อน +1

    স্যার আপনি অসাধারণ! বাংলাদেশে কোন টিচার আপনার মতো এতো গভীরভাবে বুঝাতে পারে না।

    • @tapasadhikary
      @tapasadhikary  5 หลายเดือนก่อน

      Thank you vai ❤️❤️

  • @user-hd8ph9ze5w
    @user-hd8ph9ze5w 5 หลายเดือนก่อน +1

    thanks dada

    • @tapasadhikary
      @tapasadhikary  5 หลายเดือนก่อน

      Welcome vai ❤️

  • @coderasib
    @coderasib 6 หลายเดือนก่อน +2

    Thanks for visualizing it so beautifully and easily. take love from bangladesh

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน +1

      Thank you very much… glad you found it helpful.

  • @reyadulislam3223
    @reyadulislam3223 2 หลายเดือนก่อน

    what a easy explanation .tremendously good content if any one want to know about subtle things of js.

  • @BahnisikhaDhar-fg7on
    @BahnisikhaDhar-fg7on 6 หลายเดือนก่อน

    The way you explain things is really amazing...loved it 😍❤️

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      That’s motivating ❤️

  • @sachin-chaurasiya
    @sachin-chaurasiya 6 หลายเดือนก่อน +1

    This video is awesome! The concept is explained really well. Keep up the good work, Tapas!

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน +1

      Thanks Sachin, take love ❤️

  • @mdferdous5953
    @mdferdous5953 6 หลายเดือนก่อน +1

    what a video! just amazing. thank you dada.

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Thank you ❤️

  • @ehsanulbarifahim1975
    @ehsanulbarifahim1975 6 หลายเดือนก่อน +1

    it's a very helpfull videos... i knew it already but this video teach me a lot..... last topic was awesome shallow cloning and structured cloning ....

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน +1

      Thank you for your comment, I am glad you found it helpful.

  • @soyebchandani6073
    @soyebchandani6073 6 หลายเดือนก่อน +1

    Amazing 🎉

  • @dhinakarandhinakaran2507
    @dhinakarandhinakaran2507 6 หลายเดือนก่อน +1

    Awesome man ..❤
    Please make a video on fetch API

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Thank you ❤️
      Noted.

  • @towhidurrahman4475
    @towhidurrahman4475 5 หลายเดือนก่อน +1

    Amazing tutorial. Thank you dada

    • @tapasadhikary
      @tapasadhikary  5 หลายเดือนก่อน +1

      Most welcome. Continue to see the prototype one too ❤️

  • @ibtesumrezaaninda323
    @ibtesumrezaaninda323 6 หลายเดือนก่อน +1

    অপূর্ব!

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      ধন্যবাদ 🙏

  • @naimhasan5346
    @naimhasan5346 6 หลายเดือนก่อน +1

    The concept cleared like sunlight. Take lots of love and respect❤.

  • @khanfaysal993
    @khanfaysal993 6 หลายเดือนก่อน +1

    great explanation...I already share my linkedIn profile thanks dada.

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Take love bhai, thanks ❤️

  • @gmnayeem25
    @gmnayeem25 6 หลายเดือนก่อน +1

    It was really amazing and helpful for us❤❤️

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Thank you very much ❤️

  • @ItsKrishnaPanthi
    @ItsKrishnaPanthi 6 หลายเดือนก่อน +1

    Working of spread operator in nested object was interesting. Learn new things "shallow" & "Deep" cloning.
    Thanks

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Most welcome ❤️

  • @Anguraj92
    @Anguraj92 6 หลายเดือนก่อน +1

    Nice sir

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน

      Thank you ❤️

  • @Ahmed-zd8mm
    @Ahmed-zd8mm 6 หลายเดือนก่อน +1

    beautifully explained, also request to please add higher order components like this

    • @tapasadhikary
      @tapasadhikary  6 หลายเดือนก่อน +1

      Thanks brother… I've already done a video on HOC with visual explanation… its here
      11 - Higher-Order Components in React - React Higher-Order Components with Example - React Patterns
      th-cam.com/video/dtwVjJMnOsw/w-d-xo.html

  • @hitlarhitlar5052
    @hitlarhitlar5052 5 หลายเดือนก่อน +1

    ❤️❤️❤️

  • @_DRACrY
    @_DRACrY 4 หลายเดือนก่อน

    The 🐐,
    Sir, can we get some CSS videos in the near future? I want to learn as much as I need to start building and I'll learn while building.

    • @tapasadhikary
      @tapasadhikary  4 หลายเดือนก่อน +1

      I did one related to CSS animations recently. What else you would like to learn?

    • @_DRACrY
      @_DRACrY 4 หลายเดือนก่อน +1

      @@tapasadhikary I would like to know what is the minimum fundamentals that we need to cover before starting to Learn Tailwind for example.
      I'm going to checkout the video on CSS Animations.

    • @tapasadhikary
      @tapasadhikary  4 หลายเดือนก่อน

      @_DRACrY thanks! I will make them

    • @_DRACrY
      @_DRACrY 4 หลายเดือนก่อน

      @@tapasadhikary thank you, ❤️

  • @mdreadwan2791
    @mdreadwan2791 6 หลายเดือนก่อน +1

    🎉

  • @iftekharhaidar2397
    @iftekharhaidar2397 5 หลายเดือนก่อน +1

    I think, I do so...

  • @user-lw9rm8eo7h
    @user-lw9rm8eo7h 4 หลายเดือนก่อน +1

    Can you explain heap memory all of that stuff

    • @tapasadhikary
      @tapasadhikary  4 หลายเดือนก่อน

      A part of it you can find in the JavaScript Synchronous vs Asynchronous video I had created. I think a better video would be on JavaScript Memory Management.