Javascript interview questions part 21

Javascript interview questions part 21

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. How many properties are there in window.performance object?

Correct Answer is : 2

2. What is the purpose of the navigation property in the window.performance object?

Correct Answer is : How the user navigated

3. What is the purpose of the property PerformanceTiming.navigationStart?

Correct Answer is : Ready for navigation

4. Which of the following does JSON.stringify not serialize?

Correct Answer is : Both Undefined values and Functions within an object

5. What is the purpose of the property PerformanceTiming.fetchStart?

Correct Answer is : Browser ready to fetch document

6. Which of the following property is associated with the Request event?

Correct Answer is : requestStart

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

Correct Answer is : Navigation Timing API

8. Which of the following property gives access to the JavaScript memory usage data?

Correct Answer is : performance.memory

9. What is the purpose of the timing property in the window.performance object?

Correct Answer is : Time of navigation and page load event

10. Which of the following property is associated with the Response event?

Correct Answer is : both responseStart and responseEnd

11. Which of the following computation is correct to calculate the time taken for page load once the page is received from the server?

Correct Answer is : loadEventEnd-responseEnd

12. Which of the following property is associated with the Processing event?

Correct Answer is : domload

13. What does it indicate when the type attribute of the navigation object is set to 2?

Correct Answer is : Navigation by moving back & forward through history

14. What does the method Performance.now() return?

Correct Answer is : DOMHighResTimeStamp

15. Which of the following is a read-only property?

Correct Answer is : PerformanceTiming.navigationStart & PerformanceTiming.fetchStart

16. Which of the following is an interface?

Correct Answer is : PerformanceTiming

17. How many properties are associated with the Response event?

Correct Answer is : 2

18. Where are memory leaks found?

Correct Answer is : Client side objects

19. Which handler is triggered when the content of the document in the window is stable and ready for manipulation?

Correct Answer is : onload

20. What is the central concept of JavaScript memory management?

Correct Answer is : Reachability

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon