Object Oriented JavaScript Tutorial

Syntax

object.toSource()
The toSource() method gets a string representation of the object.