Object

All classes inherit from Object

  • construct()

    Returns an empty object

    Example: new Object //{}

  • toString()

    Returns the string corresponding to the object

    Example: 2.toString() //'2'

  • getClass()

    Returns the class of the object

    Example: 2.getClass() //<Class Int>