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 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!)
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
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.
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!
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!
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.
All I can say Sir, your explanation made this hard concept very easy. Many thanks ....
You are most welcome
very clear explanation sir.
awesome video!!!!! I was struggling to understand the concept of prototype. This video helped me a lot. Thank you so much!
Glad it helped!!!
Finally understood this subject. Thanks a LOT
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.
Amazing content. Crystal clear.
Excellent video
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 tutorial. Thanks you!
Amazing explanation.
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.
you look like "javascript surgeon" who tear down javascript for deep dive understanding.awesome
Thanks for the feedback!
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!
Amazingly clear video! Thank you!
Needed this... thanks. It all came together now.
Subscribed!
Thank you you helped me alot!
Brilliant explanation
This is probably the best explanation I could ever get !! :P)
great explanation!
Amazing video bro, thanks!
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
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.
What a lovely explanation 💕
kind of like the extends keyword in Java!
Thank you internet man.
Once again, Thank you very much and yet another good reason to get your tutorial on Udemy which I'm... :) Happy Coding
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 a lot for this.
MashAllah Aameen 🙏🤲😍
Thanks Mahn. Pretty useul
Best video on prototypes ever !
Thank You
=_=
Wow thanks. Awesome tutorial
thanks dude it's helpful
very nice explanation !
That was a great video. You got my like and subscribe. 💯👍
Awesome thank you!
Very helpful tutorial
Glad it helped!
Very good video Thank you!
really helpful,..finally i could understand this...thank u
I appreciate your comment!
nice job, thnx
very nice , very clear
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 😆
Nice job
thanks
thanks a lot
superb!
Very helpful!!!! Thanks so much :DDD!!!
Thanks for the feedback!
Cool
Great video, but I had to play it at 1.25 speed.
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.
{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!