Prototype In JavaScript | JavaScript Object Prototype | Prototype Inheritance JavaScript

preview_player
Показать описание
Learn Prototype In JavaScript | JavaScript Object Prototype Tutorial | Prototype Inheritance JavaScript, Prototype chain in JavaScript.
❤️ SUBSCRIBE: @GreatStackDev

In this tutorial we will learn about JavaScript Object Prototype with explanation and examples. We will understand what is Prototype in JavaScript Object, How Objects Inherit the prototype, What is Prototype chain and what will happen if we change the prototype property's value.

#JavaScriptTutorials #JavaScript #WebDevelopment #GreatStack

-----------------------------------------
Suggested Course:

❤️ Complete website Using HTML and CSS
✔️ 8 Complete website step by step
✔️ Source Code Download
✔️ 76 Lectures, 12 Hours Video
✔️ Course Completion certificate

-------------------------------------
Recommended Videos:

Learn Complete HTML and CSS from basics:

Make A Complete Website for college using HTML & CSS:

How to make a Business website step by step:

How to make personal resume website step by step:

How to make fitness website design using HTML CSS:

How to make an Ecommerce Website Design:

How to make a Job Portal website design with HTML & CSS:

How to make travel website design with HTML CSS Bootstrap:

-------------------------------------
Connect with me:

Connect with GreatStack:
Рекомендации по теме
Комментарии
Автор

Started learning Java 2 weeks ago. Halfway through this video and I can understand this so much better than if I didn’t understand objects and inheritance. Thank you

Bahle_Gaji
Автор

Comment made after watching a useful video so I don't forget what it was about #3.

Prototype is useful to add new methods or properties to an object, so you don't modify the object itself.

citlaliserratos
Автор

you explained very well, thank you so much!

fatimaiqra
Автор

Thanx Brother waiting for next video to come

utkarshsrivastava
Автор

This isnt inheritance, this is dependency injection handled through reflection.

xxapoloxx
Автор

Sir you start a full course for react, JavaScript and python

usamamalik
Автор

hi! Did you made up getFullName method? I mean it wasn't built in js right?

nursultannurlanov
Автор

Best video of javascript prototype ❤ for beginners

NaniKnowledge-hw
Автор

sir please tell me any javascript book (not beginners book)
I live in india

SonuComedyCreator
Автор

i found when you want to use arrow function in prototype it dosent work you have to notice the Function keyword.

fatemehasgharzadeh
Автор

10:46 you are not changing the prototype's property age but you are changing the whole prototype object by using {age:52}

if you did Person.prototype.age=52 then all objects new ones and old ones will have same age value . The behaviour in your case Is because of old objects still pointing at the old prototype object which had the age value as 25 . And when you changed the whole prototype object on line 5 any object declared after that will have this other prototype object .


Summary changing prototype object and changing prototype object's property have different behaviours

rizwansaifi