Prototype and Prototypal Inheritance in Javascript | Frontend Interview Question

preview_player
Показать описание
- What is Prototype?
- What is Prototypal Inheritance?
- What is Prototype Chain?
- Why we call it __proto__ ?
- What is inhertance in Javascript?

If this video was helpful, give it a thumbs up and subscribe to my channel for more such videos. 🔔

If you want me to cover any specific topic, then comment down below. I would be happy to help you.

If you find my videos helpful,
then please support this channel by buying a coffee,

Cheers,
Akshay Saini

Would love to Stay Connected with you ❤️

#Javascript #JavascriptInterviewQuestions #AkshaySaini
Рекомендации по теме
Комментарии
Автор

First i like your video then watch it. :P

zahebshamsi
Автор

inheritance in JS => When an object trying to access variables and properties of another object

prototype is an Object that get attach to function/method/object and this object has some hidden properties

Whenever we create object/ function/ methods/ array/ variable, these all are attached with some hidden properties, which we call prototype

__proto__ is reference to prototype ( or it points towards prototype ), if we want to access prototype, we do __proto__

prototype object has a prototype of its own, and so on until an object is reached with null as its prototype, this is called prototype chaining

anjalii
Автор

awesome explanation. First, I used to read on MDN then refer to any video/blogs/articles for a simpler and short explanation. Now firstly I'll watch your video then refer any other study material. Please never stop making such great videos.

techtube
Автор

Honestly, Your last mybind example made me understand even more better. That was good. Keep up the good work sir.

prateekgautam
Автор

the most beautiful and well organized videos that i have ever encountered to youtube. THanks myan! looking forward when the new videos are coming

mohanrawat
Автор

first time i watched your video and understand what really is a prototype. Thanks for the wonderful explanation in the coding way.

raviaryan
Автор

Awesome video Akshay!
Just a side note that strings, arrays all get coerced​ into its object equivalent called as wrapper object when we try to access the built in properties. This is the reason why we use the dot(.) Operator to access them.

disenchanted_dove
Автор

Subscribed. Finally found someone who is teaching in a way I want to be taught or I teach someone. Thanks, dude!!

somewhere_in_bharat
Автор

If not the best content out there on prototypal inheritance, it surely bridged the knowledge gap between __proto__ and prototype. Thanks Akshay for the video. keep up the good work.
Quick tip: __proto__ is on the object instance, prototype is on the constructor function.

abhijeetyadav
Автор

Extremely well explained. I watched from udemy paid course but couldn't understand. but this person explained me perfectly.

dhruvthakkar
Автор

Much better explanations than all the videos I have watched till now on this topic, liked the video as soon as I got what you were explaining. Now subscribing to your channel for the depth of knowledge you are trying to provide thanks a lot it helped a lot.

amitsingh-rbjl
Автор

Very helpful. Easily understood otherwise a
highly confusing topic. Keep up the good work.

abs
Автор

Aap hi ho jo itna deep padhata h aur itne ache se padhata h...
Aur sab kuch smj aata h...
Practice karne mai b maza aata hai really thankful to you...
I love u sir...please make more videos in namaste javascript

adnanahad
Автор

I was lost and here you are man! Lovely, marvelous, mind boggling, seriously man, you make javascript fun to learn.

tauseefanwardo
Автор

I found my javascript tutor. Thank you, god bless you.

NuhAleph
Автор

Really Deep dive coching. First time clearing concepts...Rocking.

bhaveshmaisuria
Автор

Idk wtf I was doing 3 yrs ago but here I am. Learning js from gold contents. Thanks for Namaste JavaScript episodes🎉

countmein
Автор

good videos bro. I have watched tons of Videos on YT on the topics you presented, but sometimes things do not click on the first time, etc, so I keep coming back to the concepts that cause me issues. I love simplicity of your channel, you really helped me clear some things up! cheers!

milosleng
Автор

Interviewer asked me same question I explained it beautifully and he was surprised on my explanation and I got selected in interview too
Thanks to Akshay brother for giving super content

sohailmohammed
Автор

I've watched many JS tutorial on YouTube but your explanation is totally different
You are JavaScript King 👑

rishikeshsanjekar