Prototype ( Object Oriented Programming in JavaScript Series - Part 2)

preview_player
Показать описание
Understanding Prototype Property of function constructors.

#JavaScript #prototype #inheritance
Article:

*My Udemy Courses

Follow me for technology updates

Help me translate this video.

Code Samples:


Social Media:
Рекомендации по теме
Комментарии
Автор

I watch almost all of your videos.. the way you explain is so easy & great.. keep doing great work ✌️🙏

jaideepsingh
Автор

This is an old video but still so very important! Thanks for the hard work!

Mr_BetaMax
Автор

what can I say, you are an amazing teacher

dbdg
Автор

You're doing really good job man! Accessible and comprehensible!

tomaszwnuk
Автор

This guy has a gift of explaining everything very well and organized, very good bub B)

elvin
Автор

Hey, at time 7:26, you said that Object.prototype.toString will shadow the toString of original object, i think it will change the original reference of toString property not shadow. Are my thoughts correct ?

nirajsurbhi
Автор

You've helped me to understand a lot about prototype! Thank you!! :)

Arzen
Автор

Great work sir please continue the same forever.Thank you. I am eagerly waiting for videos on angular

nitinultron
Автор

I was actually looking for such a detailed video for last 15 years. I appreciate your efforts.

bobbyandthomas
Автор

I had to watch this one two times, but now I understand. Thank you!

bilgeturkkan
Автор

Tank you Techsith for this tutorials, they are just amazing! You are great teacher! Greetings from Croatia ;-)

cehson
Автор

What if I do Car.prototype.toString = /*Function Declaration here*/, To create the toString() function just for Car objects instead of changing the prototype for the master object? Is that an acceptable way of setting a custom toString() function for the Car object.

leniquenoralez
Автор

Great series! Thank you so much.
Could you talk about private properties using prototype?

yuxiangchen
Автор

Really great series!
But i would like to ask... is there any kinda... transitional video of explaining the transition from 'dumb' javascript example to OO JS. I mean... i can create for example some... custom context menu in dumb way... (hope you understand) it will work, no problem at all. But now i would like to understand this transition from dumb JS to OO JS. Like 'before' and 'after' and some explanation why things should be done this or that way.
It is great to hear, that "i can do this" and "i can do that"...and it is great to see "red car" and "green car" in the console, but it's kinda hard to lay this concept on practical use-case.
For example, i want to have multiple different context menus or dialogs, or panels or whatever in my UI... how would i do that in OOP fashion?
etc.
In this video as example - i do not understand why i NEED to hide getColor() method inside of prototype. Ok, it's nice to know that i can do this or that... but why should i do that in context of practical use-cases. Would like to have this "WHY TO DO THAT" explanation in simple 5 years old kid language. :)

Oswee
Автор

@techsith, I have a question. why I cannot use the arrow notation while creating prototype functions or creating a constructor.

AbhilashRamachandran
Автор

what i have learned from this tutorial:
>> "prototype is a property of constructor",
>> and within console mode there are a lot of hidden properties and methods...
>> the usage of root object
>> the prototype is like c++ oop, which functions can be declared/defined outside class{}.

maskman
Автор

How many prototype object are in the chain for the following array ?
let arr = [];

Please provide me answer.

nanu
Автор

Great!!! I following all your videos, please provide the video for "the advanced level of javaScript debugging in chrome inspect tool"

manozkumar
Автор

Great Video! Thank you. Is there any way to delete a property or a method from a prototype.

krishna
Автор

Please make Tutorials on React Native....Thanks in advance

shaikusman