Node:The Objects base class, Next:Creating objects, Previous:Basic Objects Usage, Up:Objects
object.fs
base classWhen you define a class, you have to specify a parent class. So how do
you start defining classes? There is one class available from the start:
object
. It is ancestor for all classes and so is the
only class that has no parent. It has two selectors: construct
and print
.