'valueOf()' Example : valueOf « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- valueOf
'valueOf()' Example
<html>
<body>
<button onclick="var myDate = new Date(); alert(myDate.valueOf());">
value of my date
</button>
</body>
</html>
Related examples in the same category