Vidyalelo
JavaScript · Q16

Parsing, Benchmarking And Logging

Programming · JavaScript · question 16

Q16

To which of the following object does the print() method belong to?

A.
window
Answer
B.
document
C.
hash
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The method print() belongs to the window object.