Vidyalelo
JavaScript · Q7

Invocation And Performance Navigation

Programming · JavaScript · question 7

Q7

What does the method Performance.now() return?

A.
DOMTimeStamp
B.
DOMHighResTimeStamp
Answer
C.
DOMStamp
D.
TimeStamp

Answer: Option B

Solution

Answer: Option B
Solution:
The Performance.now() method returns a DOMHighResTimeStamp, measured in milliseconds, accurate to one thousandth of a millisecond equal to the number of milliseconds since the PerformanceTiming.navigationStart property and the call to the method.