Skip to main content
Print this chapter
class
Keyword
class Keyword
The
class declaration
creates a new class with a given name using prototype-based inheritance.