Question: a = new Date ( ) ; console.log ( a . getTime ( ) ) ; Why do we have to assign new Date (
a new Date;
console.logagetTime;
Why do we have to assign new Date to the variable a
Group of answer choices
The Date object only works with variables named a
We don't have to do this; Date.getTime works just as well
a instantiates the Date object
a is a synechode
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
