.toJSON()
Term side of the Card
Topic: Date
Unit title: .toJSON()
Categories: Method
Explanation side of the Card
Explanation: The method that returns a JSON representation of the `Date` object. It provides the date and time in ISO 8601 format for use in JSON data.
Browser compatibility:
- The chrome browser supports this feature starting from version 3
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 4
Availability: