Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJessica Murillo
9,119 PointsIf anyone is having trouble understanding Prototypes...
JavaScript is a bit confusing for developers experienced in class-based languages (like Java or C++), as it is dynamic and does not provide a class implementation per se (the class keyword is introduced in ES6, but is syntactical sugar, JavaScript is remaining prototype-based).
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
I was really confused, especially because I've used Java and PHP more that JavaScript and they use classes but I found this site and I get it now. I am more of a visual person so this helped a lot http://javascript.info/tutorial/inheritance.
I just thought that I would share.
Jacob Mishkin
23,118 Pointsgreat post and solid references!!
Jessica Murillo
9,119 PointsThank you guys! I really hope it helps!
Vince Mease
7,544 PointsThanks. Very helpful
Steven Parker
231,248 PointsSteven Parker
231,248 PointsThanks for the references. Judging from previous forum questions the prototype paradigm can be tough to grasp, particularly for those already familiar with one or more more conventional object oriented languages.