Vidyalelo
JavaScript · Q20

Invocation And Performance Navigation

Programming · JavaScript · question 20

Q20

Which of the following API can be used to get the timing without affecting the page loading process?

A.
Navigation API
B.
Timing API
C.
Navigation Timing API
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
The timing code is in the page, so it affects how the page loads and the time that takes.. The Navigation Timing API can be used to get the timing without affecting the page loading process.