What does the method Performance.now() return?

What does the method Performance.now() return?
A. DOMTimeStamp
B. DOMHighResTimeStamp
C. DOM\Stamp
D. TimeStamp
 
Answer: b
Explanation: 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. The returned value represents the time elapsed since the time origin.
 

Tìm kiếm

Back
Top