JavaScript Object.create() Method

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Very nice explanation sir, Thank you!

VishalYadav-gkkg
Автор

Honesty, this is one of the best explanation of prototype in javascript. I am so surprised that there are no comment on this your explanation of prototype. GUY THIS IS WONDERFUL. I learn that I could create an object literals and make the literal a prototype of other objects. this is very important in a situation where special properties or method could serve as the prototype of many objects. THANK YOU VERY MUCH.

abahiduh
Автор

Thank you so much for this lucid explanation, You've a new subscriber today. :)

riyatiwari
Автор

Why isn’t this using modern syntax? Honest question.

zero
Автор

Thanks a lot for your videos.
One thing I fail to understand here is how the "Object.create()" on an object literal relates to writing programs compared to the "new" on constructor function. I see certain differences, but what do they mean? Could you elaborate a bit on its (dis)advantages? The "Object.create()" seems clearly more verbose when it comes to generating inheritance.

sybrenkeizer
Автор

can you please stop giving these rubbish names John, Mark🙄

AbhishekKumar-ypez