toSource(); method

//The toSource method creates a string representing the source code of the object or function.

JavaScript

//The toSource method creates a string representing the source code of the object or function.

data = {
   ...