Javascript Classes

Classes are objects, but with new features and cleaner syntax.

Methods are functions which are internal to their objects. Static methods can be invoked without assigning the class to an object. The constructor function is invoked when you create an object. It is used to initialize objects. The get and set methods allow you to bind properties to dynamic functions. Classes can can inherit and extend the properties of a parent class.