1.

What is the purpose of the property PerformanceTiming.fetchStart?(a) Browser ready to fetch input(b) Browser ready to fetch document(c) Browser ready to fetch summary(d) Browser ready to fetch outputI got this question during a job interview.Enquiry is from Integrating the Performance Object with perfLogger in chapter Invocation and Performance Navigation of JavaScript

Answer»

The correct choice is (b) Browser ready to fetch DOCUMENT

To explain I WOULD say: The PerformanceTiming.fetchStart read-only property RETURNS an unsigned long long representing the moment, in MILLISECONDS since the UNIX epoch, the browser is ready to fetch the document using an HTTP REQUEST. If there is no previous document, this value will be the same as PerformanceTiming.fetchStart.



Discussion

No Comment Found

Related InterviewSolutions