MCQ
Which method is used to get the current time in milliseconds?
JavaScript
A Date.now()
B new Date().getTime()
C new Date().valueOf()
D All of the above
Explanation

All of these methods return the current time in milliseconds.