1.

To which of the following object does the print() method belong to?(a) window(b) document(c) hash(d) stringI have been asked this question in an online quiz.My question is from Parsing Values using JavaScript in chapter Parsing, Benchmarking and Logging of JavaScript

Answer»

Right OPTION is (a) window

The BEST EXPLANATION: The method print() belongs to the window object. The print() method opens the Print Dialog Box, which lets the user to select preferred PRINTING options.



Discussion

No Comment Found

Related InterviewSolutions