1.

Which of the following object is used to post the data to an external process, say savePerfData?(a) XML(b) XBT(c) XHR(d) XTRI got this question at a job interview.The above asked question is from JavaScript Benchmarking and Logging with perfLogger in chapter Parsing, Benchmarking and Logging of JavaScript

Answer»

Right OPTION is (c) XHR

The best I can explain: XHR(XMLHttpRequest) is an API in the form of an object whose methods transfer DATA between a WEB browser and a web server. The benchmarking process will call the external process. We use XHR object to POST the data to the external process.



Discussion

No Comment Found

Related InterviewSolutions