JavaScript Question: What is a Prototype?

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 91

  • @ahmedr.
    @ahmedr. 2 роки тому

    showing it visually is fantastic . For the first time since I started learning Js a year ago, I can now build a strong Object understanding. BIG THANKS

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

      Great to hear!

    • @ahmedr.
      @ahmedr. 2 роки тому

      @@AllThingsJavaScript Truely thank you . I subscribed to keep following your wonderful content. I am watching complete playlists of your channel .

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

    I have just discovered your channel and it's incredible the vast JS knowledge you have. Sir, from now on you are my JS reference!

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

    Not kidding I saw 10 videos on prototype and all of them were confusing because they were including other topics to explain it. But this tutorial is simple and effective and focuses on prototype only and the definition in the beginning helps a lot . Thanks @All Things JavaScript, LLC for clearing my doubt.

  • @adante407
    @adante407 6 років тому +3

    I have just discovered your channel, and the Javascript tutorials are great. I feel like I have stagnated with the Js Tutorials on you tube. Only so many loops and if/else tuts you can watch. Its great that you're moving on to concepts that branch out from the beginner, beginner tuts that you tube is flooded with. 👍

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

    Nice Tutorial. Clear voice in simple english.

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

    Really , I had seen all videos of prototype lastly by your video I understand this concept !! Amazing video keep it up !!

  • @westfield90
    @westfield90 6 років тому +1

    Just purchased your course. Thank you for a great clear teaching style

  • @ilirpeposhi9656
    @ilirpeposhi9656 6 років тому +2

    much probably the best tutorial on js, deep and simple, thank you sir

  • @omar99ize
    @omar99ize 7 років тому +6

    Finally I could understand prototypes. the graphics you provided helped a lot. Plus you are a great teacher. not every person has this gift!

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

    All I can say Sir, your explanation made this hard concept very easy. Many thanks ....

  • @ingvankhinh6041
    @ingvankhinh6041 5 років тому +1

    thank you so much sir very useful i was struggling on this topic for a long time now i can understand the concept of it.

  • @graceji4082
    @graceji4082 7 років тому +2

    awesome video!!!!! I was struggling to understand the concept of prototype. This video helped me a lot. Thank you so much!

  • @martinlutherkingjr.5582
    @martinlutherkingjr.5582 4 роки тому +1

    I noticed a numbering scheme in your videos, are the videos in your playlists in any particular order? Some of the previous videos discussed prototypes but now this video actually tells us noobs what a prototype is.

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

      The playlists are categories, so everything in the playlist is for a specific category. However, they don't go in a particular order. That is why I create the courses because then I can impose an order.

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

    I dont search in utube . but today i couldnt have a clear concept about prototype after reading books , w3 school, mdn . but atfter this video it became so clear

  • @sujaytalukder2606
    @sujaytalukder2606 6 років тому +3

    very clear explanation sir.

  • @ayasswain
    @ayasswain 5 років тому

    Very Nice explanation on prototypes. IS there any video on javascript classes?

    • @AllThingsJavaScript
      @AllThingsJavaScript  5 років тому

      I don't believe I have done one on classes yet, but will add it to the list.

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

    Amazing content. Crystal clear.

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

    Brilliant explanation

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

    Amazing explanation.

  • @daniellima5954
    @daniellima5954 5 років тому +1

    Finally understood this subject. Thanks a LOT

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

    Needed this... thanks. It all came together now.

  • @VIjayKumartheh2o
    @VIjayKumartheh2o 5 років тому +3

    This is probably the best explanation I could ever get !! :P)

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

    What a lovely explanation 💕

  • @babakboom
    @babakboom 5 років тому

    Amazingly clear video! Thank you!

  • @westfield90
    @westfield90 6 років тому +3

    Excellent video

  • @matthewchansavage3699
    @matthewchansavage3699 5 років тому +1

    great explanation!

  • @CrusaderMen
    @CrusaderMen 6 років тому +3

    Subscribed!
    Thank you you helped me alot!

  • @teodordimitrov7062
    @teodordimitrov7062 6 років тому +2

    Amazing tutorial. Thanks you!

  • @pramodkumarw
    @pramodkumarw 6 років тому

    you look like "javascript surgeon" who tear down javascript for deep dive understanding.awesome

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

    Thank you internet man.

  • @modestas2890
    @modestas2890 7 років тому +2

    Amazing video bro, thanks!

  • @itsdannyftw
    @itsdannyftw 7 років тому +1

    I think it would be good here if you talked about the difference between the private linkage to the object [[Prototype]] and the public linkage __proto__ (which browsers support but isn't recommended!)

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

    That was a great video. You got my like and subscribe. 💯👍

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

    Thanks Mahn. Pretty useul

  • @Zen-lz1hc
    @Zen-lz1hc 4 роки тому

    Best video on prototypes ever !
    Thank You
    =_=

  • @rolandpierrelouis4013
    @rolandpierrelouis4013 5 років тому

    Thank you for this tuto ! it helps ! is there a difference between _proto_ and prototype ?

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

    Once again, Thank you very much and yet another good reason to get your tutorial on Udemy which I'm... :) Happy Coding

  • @codeative
    @codeative 6 років тому

    very nice explanation !

  • @thriveniaswi4483
    @thriveniaswi4483 7 років тому

    Thanks for tutorial . its good and i have cleared few doubts for prototype concept. I am having one doubt :
    var obj = { company : "hi"}, what is the difference between
    obj.__proto__.text= 10; and obj.text = 10 ? both are adding adding prototype, why two different ways ? is there any specfic reason for this declaration?

    • @AllThingsJavaScript
      @AllThingsJavaScript  7 років тому +1

      __proto__ adds the text attribute to the prototype object. obj.text adds it to the object itself. So really you are adding it to 2 different locations (objects).

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

    thanks dude it's helpful

  • @feninsam4156
    @feninsam4156 7 років тому

    Wow thanks. Awesome tutorial

  • @k4qdex
    @k4qdex 6 років тому +2

    thanks a lot for this.

  • @mdmasud5888
    @mdmasud5888 7 років тому +1

    Very helpful tutorial

  • @sakar.aatmak
    @sakar.aatmak 7 років тому

    really helpful,..finally i could understand this...thank u

  • @nero1563
    @nero1563 6 років тому

    Very good video Thank you!

  • @aquilhall262
    @aquilhall262 5 років тому +1

    kind of like the extends keyword in Java!

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

    nice job, thnx

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

    MashAllah Aameen 🙏🤲😍

  • @LeandroOliveira-kn9qx
    @LeandroOliveira-kn9qx 7 років тому

    very nice , very clear

  • @mamotivated
    @mamotivated 5 років тому

    Nice job

  • @yordanialonso4272
    @yordanialonso4272 6 років тому

    How do you Link prototype chains?

    • @AllThingsJavaScript
      @AllThingsJavaScript  6 років тому

      Simply by assigning a prototype object to an object. Once assigned that prototype chain is valid for that object.

  • @SebastianGamboaQ
    @SebastianGamboaQ 7 років тому

    Very helpful!!!! Thanks so much :DDD!!!

  • @hossamadel7290
    @hossamadel7290 5 років тому

    thanks a lot

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

    So a JavaScript Prototype is like a parent class in Java language. Derived classes inherit the properties and methods of the parent. A default parent class for non-primitives is the Object class.

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

      Similar. However, the prototype retains the properties and methods. They are only borrowed by the instance object. They are not added to the instance like they are in class relationship.

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

      @@AllThingsJavaScript Just borrowed and returned . . . well, sorry if I sold your definition short 😆

  • @Niamat-w9s
    @Niamat-w9s 6 років тому

    thanks

  • @rushiastheycallme
    @rushiastheycallme 7 років тому

    superb!

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

    Hi. I think that you made a little mistake. You said: A prototype is automatically assigned to any object. But you also said: Almost every object is linked to another object because the default object doesn't have a prototype and we could create an object without a prototype. I think that more correctly would be the following: A prototype is automatically assigned to ALMOST any object.

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

      Probably the best way to say it is a prototype is assigned to every object unless the object creator chooses not to have that happen.

  • @Arty47
    @Arty47 5 років тому

    Cool

  • @jordanspano
    @jordanspano 6 років тому +1

    Great video, but I had to play it at 1.25 speed.

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

    {2021-09-23}

  • @bilaltariq50
    @bilaltariq50 7 років тому +41

    Finally I could understand prototypes. the graphics you provided helped a lot. Plus you are a great teacher. not every person has this gift!

    • @AllThingsJavaScript
      @AllThingsJavaScript  7 років тому +1

      Thanks for the positive feedback!!

    • @CameronChardukian
      @CameronChardukian 6 років тому +1

      Agreed, being able to visualize things definitely helped cement our ability to understand

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

    Great explanation! Thank you!