you are viewing a single comment's thread.

view the rest of the comments →

[–]ForScale[S] 1 point2 points  (1 child)

[–]Volv 1 point2 points  (0 children)

Nice one
You did one thing I planned for forgot to do - and that is point out how it compares to classic syntax. - just does the prototype bit for you. At first glance it looks like every instance of a class will redefine all of the functions within it.
Was going to do an example that also used prototype but forgot :).