JavaScript Prototypes (Part 2)

preview_player
Показать описание
This is part 2 of our JavaScript prototypes lesson. In this video, we go through how constructor functions "secretly" link their new objects to share properties through its prototype.

This video is an edited version of a live lesson given by Gilbert Garza at MakerSquare, a Software Development School with locations in Austin and San Francisco.

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

cant believe there aren't more views on this. I've watched about 50 different videos and articles on prototypes but this is by far the best I've seen. The diagrams make it all fit together and make sense about how it all works. The attention to detail was appreciated, normally people just say how to do it, not actually the behind the scenes stuff with the constructor populating the proto fields in each object. Thanks!

TheOverAndAround
Автор

This is great! I finally understand javascript prototype after viewing this!

sayhongtan
Автор

absolutely amazing tutorial. wish I had found this two hours ago. I appreciate the pace and the use of whiteboard (instead of a compiler).

rachellefaroul
Автор

Fantastic! Everything I wanted to know about prototypes but was afraid to ask. Thanks for the upload.

colin
Автор

One of the best tutorial I have ever found. Now I know Js prototype :) Thank you!!!!

YahyaGamingHub
Автор

Wow this was awesome. Super attention to details that could satisfy my attention to details finally regarding the prototype topic. Bravo!!

zozouzid
Автор

This is super... Thank you for such a nice illustration.

vikrantverma
Автор

Such a perfectly detailed simple to understand explanation :D  If some one as thick as me gets it after watching your tutorial that's saying something, lol

keeropkmn
Автор

1:09 to 2:07 taught me how to make custom toStrings() methods. I cant thank you enough, so many other videos, tho they mean well, they tend to have so much unnecessary clutter. In addition, my bad syntax kept screwing me over, somehow mixing java + normal javascript functions and using javascript prototype functions . Thank you for your teaching style. Subbing.

carlx
Автор

I finally understand the prototype chain

sunnybambooflute
Автор

I liked this video. please make more advanced js tutorials, Thanks.

jackky
Автор

Hey Mate, extremely informative stuff. Thanks.
At min 8:20 you show that Car.prototype has an object-function: honk
Why if I display Car.__proto__ I can just see [function]
while if I display honda.__proto__ I can see {honk [function] }
?

gxvigo
Автор

Loved the video.  I feel I understand it now.  I searched a fair bit to find something that was easy to understand.  I loved how you hate Kia so much that you spelt it Kea.
One question: when you call Honda.Honk you didn't mention how the prototype gets the value "meep".  Is this because the prototype gets passed the object Honda?

RoryCarroll
Автор

I don't know why people hate the 1st part, yes for sure it is not for the prototype but to know the proto. have to understand the basic things.

jsnode
Автор

merci beaucoup, j'ai essayer d’appendre le JS mais la notion de prototype ma perturbé une obstacle de continuer d'apprendre le JS, mais maint après avoir vu cette méthode d’explication la route est ouverte vet la continuation d'apprendre.  merci encore une fois @:MakerSquare

ناصردريدي-تح
Автор

good video, only downside is that you are awfully slow. i find myself constantly fast forwarding, and then rewinding coz i missed something. your pace drives me nuts.

bigray