src code

class method Object.toHTML

Object.toHTML(object) → String
  • object (Object) – The object to convert to HTML.

Converts the object to its HTML representation.

Returns the return value of object's toHTML method if it exists; else runs object through String.interpret.