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
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.
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. 👍
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.
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.
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
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!)
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?
__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).
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.
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.
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.
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
Great to hear!
@@AllThingsJavaScript Truely thank you . I subscribed to keep following your wonderful content. I am watching complete playlists of your channel .
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!
Welcome aboard! Glad it has been helpful!
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.
Glad I could help!
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. 👍
Thanks for the feedback!
Nice Tutorial. Clear voice in simple english.
Really , I had seen all videos of prototype lastly by your video I understand this concept !! Amazing video keep it up !!
Glad to hear that
Just purchased your course. Thank you for a great clear teaching style
Thank you for purchasing the course!
much probably the best tutorial on js, deep and simple, thank you sir
Finally I could understand prototypes. the graphics you provided helped a lot. Plus you are a great teacher. not every person has this gift!
Thanks for your positive feedback!
All I can say Sir, your explanation made this hard concept very easy. Many thanks ....
You are most welcome
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.
awesome video!!!!! I was struggling to understand the concept of prototype. This video helped me a lot. Thank you so much!
Glad it helped!!!
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.
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.
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
Glad it helped!
very clear explanation sir.
Very Nice explanation on prototypes. IS there any video on javascript classes?
I don't believe I have done one on classes yet, but will add it to the list.
Amazing content. Crystal clear.
Brilliant explanation
Amazing explanation.
Finally understood this subject. Thanks a LOT
Needed this... thanks. It all came together now.
This is probably the best explanation I could ever get !! :P)
What a lovely explanation 💕
Amazingly clear video! Thank you!
Excellent video
great explanation!
Subscribed!
Thank you you helped me alot!
Amazing tutorial. Thanks you!
you look like "javascript surgeon" who tear down javascript for deep dive understanding.awesome
Thanks for the feedback!
Thank you internet man.
Amazing video bro, thanks!
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!)
Thanks for the input! Good thoughts for a follow up.
That was a great video. You got my like and subscribe. 💯👍
Awesome thank you!
Thanks Mahn. Pretty useul
Best video on prototypes ever !
Thank You
=_=
Thank you for this tuto ! it helps ! is there a difference between _proto_ and prototype ?
There is not
@@AllThingsJavaScript Thank you for taking time to reply
Once again, Thank you very much and yet another good reason to get your tutorial on Udemy which I'm... :) Happy Coding
very nice explanation !
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?
__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).
thanks dude it's helpful
Wow thanks. Awesome tutorial
thanks a lot for this.
Very helpful tutorial
Glad it helped!
really helpful,..finally i could understand this...thank u
I appreciate your comment!
Very good video Thank you!
kind of like the extends keyword in Java!
nice job, thnx
MashAllah Aameen 🙏🤲😍
very nice , very clear
Nice job
How do you Link prototype chains?
Simply by assigning a prototype object to an object. Once assigned that prototype chain is valid for that object.
Very helpful!!!! Thanks so much :DDD!!!
Thanks for the feedback!
thanks a lot
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.
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.
@@AllThingsJavaScript Just borrowed and returned . . . well, sorry if I sold your definition short 😆
thanks
superb!
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.
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.
Cool
Great video, but I had to play it at 1.25 speed.
{2021-09-23}
Finally I could understand prototypes. the graphics you provided helped a lot. Plus you are a great teacher. not every person has this gift!
Thanks for the positive feedback!!
Agreed, being able to visualize things definitely helped cement our ability to understand
Great explanation! Thank you!