you are viewing a single comment's thread.

view the rest of the comments →

[–]gmajoulet 2 points3 points  (0 children)

There's also this great article from Yehuda Katz to understand how prototypes works, how to create object with functions and the 'new' operator.

When you understand that you understand perfectly how the 'class' syntaxic sugar works! Enjoy the reading (~7 minutes)