What is the result when the showPerformanceMetrics() is called before loading the remote script?

A. Throws an exception

B. Throws an error

C. It will load by itself

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

If you try to make the call to perfLogger.showPerformanceMetrics() and the script hasn’t just loaded but also executed, then you will get an error.

Join The Discussion

Related Questions on Invocation and Performance Navigation