The class declaration creates a new class with a given name using prototype-based inheritance.