Getting the class in static methods
I’ve been doing quite a bit of OOP with javascript lately (although I’m not a big fan of it). One of the problems I recently came across was to access the class from a static method. This is useful when writing static methods which can be inherited by other classes…