Prototypes and Prototypal Inheritance - Javascript In Depth

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

  • @TechWithNader
    @TechWithNader  ปีที่แล้ว +8

    Hey everyone! Just wanted to add a correction to the last section - The "new" keyword with Prototypes:
    The Animal prototype does not have "type" in it. "Type" is just in the individual instances of Animal. In order to add it to the prototype of Animal, we'd need to do: Animal.prototype.type = _something_; Just like we saw with the Object.prototype before it.
    I also forgot to remove "speak" from the Object prototype from the earlier slide, haha sorry! This again would only be here if we assigned to Object.prototype.speak and then had this code as well.
    Hope that helps and doesn't confuse things more! 😊

  • @nanlunglongtau2076
    @nanlunglongtau2076 8 หลายเดือนก่อน +3

    Discovering this channel is like discovering gold

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

    Better than 99.9% of prototypal tutorials.

  • @ujjwalranjanraoietlucknows8151
    @ujjwalranjanraoietlucknows8151 ปีที่แล้ว +2

    WoW... The only one on YT to actually clear all the fake prototypes.... Really cleared the Objects concepts

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

      Thanks for the kind words! I'm glad this concept makes sense for you, since this is definitely an important but challenging topic! 🤓

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

      But I got stuck....What does Object.getOwnPropertyNames(Object.__proto__) refers to?
      Object. getOwnPropertyNames (Object.__proto__._proto__) refers to prototype which contains construtor, definegetsetter....
      And one more thing MDN says usage of __proto__ should be discouraged...so how to use Obejct.getPrototypeOf??
      Pls help... I shall be highly thankful

  • @flnnx
    @flnnx ปีที่แล้ว +6

    One of the best JS channels on YT! I've been following u for a while now and I've learned so much! Thank you for the awesome in depth content.

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

      Hey Fln! Thank you so much for the kind words! It really means a lot and it’s comments like this that help me keep going 😊
      If you’re interested, here’s a link to the Discord server we have where we’re also building a community on all this: discord.gg/9SZbqWvMrV

  • @nadeem-cp9is
    @nadeem-cp9is 8 หลายเดือนก่อน +2

    you have the gift of being able to teach really well , thank u so much , i am currently watching your js in depth playlist and it's amazing , keep going

  • @kimthan898
    @kimthan898 ปีที่แล้ว +5

    your content is so underrated

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

      Thanks Kim! I hope to keep creating more like this and sharing with the community 😊 Would love to know what makes you say that though vs the other content on youtube!

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

    I am very happy that I am able to understand protoypes just because you explain in very nice manner. ❤❤

  • @Kerwell
    @Kerwell 12 วันที่ผ่านมา

    god i love this series. you're such an amazing teacher, this is so exciting

  • @shivanshmishra7992
    @shivanshmishra7992 ปีที่แล้ว +4

    This guy has some quality content and great explanations

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

      Thanks Shivansh! I’ll keep them coming 😊

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

    wow you just blew my mind with your amazing explanation nader , thank you soo much for providing such a quality content , keep going : )

  • @ckw3005
    @ckw3005 26 วันที่ผ่านมา

    best explaination on the youtube👍👍

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

    Great explanation of JavaScript prototypes. I truly appreciate your hard work for this video.

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

    you deserve 100 M subs

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

    super interesting video, finally a nice explanation of the topic

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

    Keep teaching Nader! Awesome content and easy to understand!

  • @ОлександрКравчук-п7д
    @ОлександрКравчук-п7д 10 หลายเดือนก่อน +1

    Very good explanation

  • @Kase674
    @Kase674 7 ชั่วโมงที่ผ่านมา

    This course worth for 5-6 thousand if you want to sell on udemy and cousera. but bro taught us for free hats off from india

  • @samueladehoun9248
    @samueladehoun9248 ปีที่แล้ว +2

    This is amazing and very clear. Keep up the good work.

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

      Thanks Samuel! Glad you found it helpful - this is a tricky topic 😊

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

    Well done on the explanation.

  • @mahmoud.masoud
    @mahmoud.masoud ปีที่แล้ว +2

    Great video as usual

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

    26:58

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

    The tutorial is fantastic