1.

What is not the purpose of the parameter location?(a) Specifies agent location(b) Specifies speed(c) Specifies browser(d) Specifies blockI have been asked this question in an internship interview.My question comes from Creating a Shared Configuration File using JavaScript in chapter Parsing, Benchmarking and Logging of JavaScript

Answer»

The correct choice is (d) Specifies block

Best explanation: The window.LOCATION object can be used to get the current page address (URL) and to redirect the browser to a new page. The parameter location specifies the AGENT location, SPEED and browser to USE for the test, formatted as location.browser:location.



Discussion

No Comment Found

Related InterviewSolutions