What is the output of the following code?
let theDay = new Date(1980, 3, 10); if (theDay instanceof Date) { console.log("the Day is a Date object."); } if (theDay instanceof Object) { console.log("the Day is also an instance of the Object object."); }
the Day is a Date object. the Day is also an instance of the Object object.