Exercise:

Use the toDateString() method to convert the date to a more readable format.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com