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
@揚州夢 Жыл бұрын
Excellent teaching!
@utkarshsrivastava5461 Жыл бұрын
Thanx Brother waiting for next video to come
@blazingguyop10 ай бұрын
Great video brother ❤
@citlaliserratos60662 ай бұрын
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.
@teddyzinovieva2011 Жыл бұрын
A very good explanation. Thank you!
@fatimaiqra21697 ай бұрын
you explained very well, thank you so much!
@neeola2567 Жыл бұрын
Thank you, it was well explained
@johncharles41464 ай бұрын
thanks dude youre the best
@TanguduSravani-t6o5 ай бұрын
Super explanation
@nursultannurlanov71 Жыл бұрын
hi! Did you made up getFullName method? I mean it wasn't built in js right?
@NaniKnowledge-h5w5 ай бұрын
Best video of javascript prototype ❤ for beginners
@usamamalik487 Жыл бұрын
Sir you start a full course for react , JavaScript and python
@xxapoloxx Жыл бұрын
This isnt inheritance, this is dependency injection handled through reflection.
@SonuComedyCreator Жыл бұрын
sir please tell me any javascript book (not beginners book) I live in india
@ashwathnageshbelur47162 ай бұрын
how to get the console tab ?
@fatemehasgharzadeh618 Жыл бұрын
i found when you want to use arrow function in prototype it dosent work you have to notice the Function keyword.
@blazingguyop10 ай бұрын
There are some rules in Arrow function
@raoimtinan50517 ай бұрын
i think becuse to access property in prototype use this keyword and in arrow function this keyword go to global scope this reason arrow function not work but simple function allow this keyword so this property when use in simple function it can access value in prototype
@rizwansaifi35907 ай бұрын
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