The toSource() method creates a copy of the object.It returns a string representation of an object, which can be passed to the eval method to create a copy of the object. Click on the button to create a copy of a Math object. The result of toSource is: