Why are objects copied by reference in JavaScript (visualized)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 มี.ค. 2021
  • This video is part of a series of online tutorials called 'JavaScript for Visual Learners'.
    I will soon be uploading the first part of the video course in its entirety on this channel, as well as a free course on the Teachable platform, where there will also be interactive code examples. Please subscribe if you want to get notified when this becomes available.
    This video will use visual examples to discuss:
    -Why is copying an object different from copying a primitive in JavaScript?
    -Why do we say that objects are copied by reference and primitives are copied by value?
    -Why people learning JavaScript often find using the const keyword with objects confusing?

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

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

    Good job

  • @jayeshahirrao3868
    @jayeshahirrao3868 ปีที่แล้ว

    just by the annimation it is so simple to understand
    thanks for your efforts

  • @Maxiride
    @Maxiride 3 ปีที่แล้ว +1

    Very informative! Subscribed :)

  • @prasad9v
    @prasad9v ปีที่แล้ว

    Wow great way to understand!