Jump to content

valueOf()


Drycodez

Recommended Posts

It returns a primitive value for something like an object. With a Date object, for example, it returns the Unix timestamp. You can use the Date object to format the date however you want, but the underlying value of the date is the timestamp.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...