JavaScript toSource() Method
❮ JavaScript Date ObjectDescription
The toSource() method represents the source code of an object.
Syntax
object.toSource()Note
This method is deprecated. Do not use it.
❮ JavaScript Date Object
The toSource() method represents the source code of an object.
object.toSource()This method is deprecated. Do not use it.
Free account
New
Coding fundamentals as bite-sized lessons and challenges.
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com