Hey, how its going ?
So I was learning about objects and prototypes at the MDN javascript course, and I tried to identify a new object:
const myTime = new Date();
when i write myTime in the console it gives me this msg
Date Mon Oct 17 2022 00:14:54 GMT-0700 (Pacific Daylight Time)
But when i try to bring the value of the property “Date” ( myTime.Date
) its not working .
Am I missing something ?