prototype v/s __proto__ (prototype chain in Javascript)

Поділитися
Вставка
  • Опубліковано 9 лис 2024
  • This video explains what is _proto_ and prototype in Javascript?

КОМЕНТАРІ • 27

  • @romanmontoya5950
    @romanmontoya5950 3 роки тому +3

    Amazing. I’ve just spent over 2 hours researching this topic, and you’ve neatly and concisely explained it in less than 10 minutes. And with visuals! Seriously amazing. 🙇🏻‍♂️

  • @pragatheeshm.sc.577
    @pragatheeshm.sc.577 Рік тому +1

    Simply amazing man..

  • @romanmontoya5950
    @romanmontoya5950 3 роки тому +1

    Ok, I spent 2 hours trying to learn this topic, and you’ve neatly and concisely explained it in less than 10 minutes. And with visuals! Seriously incredible 🙌

  • @ankitpatyal3201
    @ankitpatyal3201 2 роки тому

    Awesome explanation

  • @tonyx4996
    @tonyx4996 2 роки тому

    Wowww, you deserve more likes. Much more.

  • @alifox6056
    @alifox6056 4 роки тому +5

    Thank you man, this is the only video that explains prototype/__proto__ so good yet. Would be more awesome if there wasn't any music (it's distracting) or if it wasn't that loud. And yes, would be even more nicer if there were subtitles. Thank you

    • @blackboxdev
      @blackboxdev  4 роки тому +2

      Thanks Ali Fox for the feedback. Really appreciate it. Will definitely improve all that you mentioned in my upcoming videos. Cheers!

  • @rifatmahmood7161
    @rifatmahmood7161 2 роки тому

    Awesome 👍

  • @dokhangtseringnamgyal8735
    @dokhangtseringnamgyal8735 Рік тому

    well explained !!! thank you !

  • @avg_indian_guy
    @avg_indian_guy 2 роки тому +1

    Beautifully explained. Loved every bit of it. A small suggestion if i might, it would be great if you reduce the background sound a tad bit, my 5 year old cousin ran upto me to watch this as well. To his dismay, it wasn't what he expected :)
    Again, beautifully explained.

  • @Vandanasharma-zj6up
    @Vandanasharma-zj6up 3 роки тому

    Great visual representation . Thanks

  • @codinghand2807
    @codinghand2807 3 роки тому

    Literally bro I love your Explanation. Finally I have understood this topic.

  • @surbhityagi3310
    @surbhityagi3310 4 роки тому +1

    Loved the video.....easiest explanation on the net👍

  • @pallobjahid
    @pallobjahid 4 роки тому

    Best and clear Demonstration ... You deserve more views ... Thanks Man

  • @gauninha12
    @gauninha12 4 роки тому

    God bless you and all India, my friend! Best Prototype vs __proto__ videi ever

  • @suryayoutube2784
    @suryayoutube2784 3 роки тому

    Awesome! Thanks for the Visual representation. That helps a lot.

  • @RAKESHHOLKAR
    @RAKESHHOLKAR 4 роки тому +2

    disturbing background music 😑

  • @RaghavSharma-xp2oj
    @RaghavSharma-xp2oj 2 роки тому

    Liked the video, though try not adding any background sound to it. It makes the video irritating.

  • @nahumnetanel6605
    @nahumnetanel6605 3 роки тому +1

    Great Tutorial !!!, I have 2 questions: 1. which editor are you using , i want to know how can i see the prototype and the __proto__ all editors i found not showing it , 2. for what reason there is __proto__ in the Function , according to what i understand it should be only on the instances

    • @___vijay___
      @___vijay___ 3 роки тому

      try chrome browser console

    • @blackboxdev
      @blackboxdev  3 роки тому

      Hi Nahum, I am using the browser console of the Google Chrome browser. Also, I am using an extension called "Scratch JS".
      To answer your second question, you can consider the "prototype" property on a function to be a storage box, where you can store different things and the "__proto__" property just determines the link between objects (between the instance and the function's prototype). Hope this helps!

  • @victorvillacis6764
    @victorvillacis6764 Рік тому

    This is amazing I seriously thank you. Are you on Fiver or any to hire website. I def would love to pick your brain for an hour or two over zoom and will more than gladly pay for your time.

  • @jovanastojanovic2580
    @jovanastojanovic2580 Рік тому

    slayed

  • @gauninha12
    @gauninha12 4 роки тому

    I just have one doubt: Whenever I create a function, will it instantly instantiates an object property called "prototype" even if I don't create any new object with this function? Or it will only instantiate the "prototype" object property when I create a new object using the function? Thanks, sir!

    • @blackboxdev
      @blackboxdev  3 роки тому +1

      Good question, whenever you declare a function, that function will ALWAYS have a property "prototype" on it. It does not matter if you are creating new objects using that function or not.

  • @kumarmanish9046
    @kumarmanish9046 2 роки тому

    get rid of the background music! PLEASE