contents   index   previous   next



Object toString()

syntax:

object.toString()

return:

string - a string representation of this object.

 

description:

When this method is called, the internal class property, _class, is retrieved from the current object. A string is then constructed whose contents are "[object classname]", where classname is the value of the property from the current object. Note that this function is rarely called directly, rather it is called implicitly through such functions as global.ToString().

 

see:

Object toLocaleString()

 

 


Object valueOf()