1.

What is the default value of timeout?(a) infinity(b) 100(c) 0(d) 1000000I got this question during an interview.Origin of the question is Geolocation API in portion HTML Fonts, Tags and Elements of HTML

Answer»

The correct choice is (a) infinity

To elaborate: The value of TIMEOUT is positive LONG value. It specifies the MAXIMUM TIME in milliseconds which the user has taken to RESPOND with the data of the location. Its default value is infinity.



Discussion

No Comment Found

Related InterviewSolutions