1.

How many read-only attributes are present in the navigator object?(a) 1(b) 2(c) 3(d) 4I have been asked this question in an interview for internship.Enquiry is from Performance Navigation and Memory topic in chapter Invocation and Performance Navigation of JavaScript

Answer»

The CORRECT option is (b) 2

The best I can EXPLAIN: The NAVIGATOR object contains information about the browser. There are a TOTAL of 2 read-only attributes present in the navigator object namely:

redirectCount

type.



Discussion

No Comment Found

Related InterviewSolutions