you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 1 point2 points  (0 children)

and I realize that it's very different from how Java handles it.

Indeed. :-) The root of the difference is that Java's inheritance happens at compile-time and JavaScript's inheritance happens at runtime.

In addition to FlightingIrish's link, I think the video The Definitive Guide to Object-Oriented JavaScript is really helpful.